File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tools/bamm-cli/src/test/java/io/openmanufacturing/sds Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -288,7 +288,7 @@ public void testPrettyPrintingToFile( final KnownVersion metaModelVersion ) {
288
288
@ MethodSource ( value = "allVersions" )
289
289
public void testPrettyPrintingToStdout ( final KnownVersion metaModelVersion ) {
290
290
createValidArgsExecution ( metaModelVersion , "prettyprint" );
291
- assertThat ( stdoutBuffer .toString ( StandardCharsets .UTF_8 ) ).startsWith ( "@prefix" );
291
+ assertThat ( stdoutBuffer .toString ( StandardCharsets .UTF_8 ) ).contains ( "@prefix" );
292
292
}
293
293
294
294
@ ParameterizedTest
@@ -303,7 +303,7 @@ public void testVersionMigrationToFile( final KnownVersion metaModelVersion ) {
303
303
@ MethodSource ( value = "allVersions" )
304
304
public void testVersionMigrationToStdout ( final KnownVersion metaModelVersion ) {
305
305
createValidArgsExecution ( metaModelVersion , "migrate" );
306
- assertThat ( stdoutBuffer .toString ( StandardCharsets .UTF_8 ) ).startsWith ( "@prefix" );
306
+ assertThat ( stdoutBuffer .toString ( StandardCharsets .UTF_8 ) ).contains ( "@prefix" );
307
307
}
308
308
309
309
@ ParameterizedTest
You can’t perform that action at this time.
0 commit comments