Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Dec 9, 2022
1 parent e97c696 commit a74d91a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public static AbstractPathAssert<?> assertThatMatchSnapshot(Path fileToCheck, St

final String snapshotNotFoundDescription = "corresponding snapshot file not found for " + snapshotIdentifier
+ " (Use -Dsnap to create it automatically)";
final String description = "Snapshot is not matching (use -Dsnap to udpate it automatically): "
final String description = "Snapshot is not matching (use -Dsnap to update it automatically): "
+ snapshotIdentifier;
if (isUTF8File(fileToCheck)) {
assertThat(snapshotFile).as(snapshotNotFoundDescription).isRegularFile();
Expand Down Expand Up @@ -264,7 +264,7 @@ public static ListAssert<String> assertThatDirectoryTreeMatchSnapshots(String sn
.collect(toList());

return assertThat(tree)
.as("Snapshot is not matching (use -Dsnap to udpate it automatically):" + snapshotName)
.as("Snapshot is not matching (use -Dsnap to update it automatically):" + snapshotName)
.containsExactlyInAnyOrderElementsOf(content);
});
}
Expand Down

0 comments on commit a74d91a

Please sign in to comment.