We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2791e0 commit 16b68afCopy full SHA for 16b68af
src/test/java/org/scijava/script/ScriptInfoTest.java
@@ -122,9 +122,8 @@ public void testVersion() throws IOException {
122
// verify that the version is correct
123
final ScriptInfo info = new ScriptInfo(context, scriptFile);
124
final String version = info.getVersion();
125
- final String timestampPattern = "\\d{4}-\\d{2}-\\d{2}-\\d{2}:\\d{2}:\\d{2}";
126
final String sha1 = "28f4a2880d604774ac5d604d35f431047a087c9e";
127
- assertTrue(version.matches("^" + timestampPattern + "-" + sha1 + "$"));
+ assertTrue(version.matches("^" + sha1 + "$"));
128
129
// clean up the temporary directory
130
FileUtils.deleteRecursively(tmpDir);
0 commit comments