We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9a76a1 commit 9e8c7f9Copy full SHA for 9e8c7f9
app/src/test/java/com/diffplug/spotless/cli/core/ChecksumCalculatorTest.java
@@ -193,12 +193,12 @@ void itCalculatesDifferentChecksumDueToDifferentSetterOption() {
193
194
@Test
195
void itCalculatesChecksumForFilePath() {
196
- Path testPath = Path.of("var", "tmp", "test.txt");
197
198
- String checksum =
199
- checksumCalculator.calculateChecksum(testPath.toAbsolutePath().toString());
+ String testPath = "/var/tmp/test.txt";
200
201
- Selfie.expectSelfie(checksum).toBe("ef184d3abbb8db0a9867f9abaae87397");
+ String checksum = checksumCalculator.calculateChecksum(testPath);
+
+ Selfie.expectSelfie(checksum).toBe("5a45f2c50e9f68ca4ef1d41e8fea6d12");
202
}
203
204
private static Step step(
0 commit comments