Skip to content

Support ANT-like glob patterns #6704

Support ANT-like glob patterns

Support ANT-like glob patterns #6704

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / JUnit Tests (macOS, EnricoMi/publish-unit-test-result-action@v2) failed Dec 11, 2023 in 0s

1 fail, 36 skipped, 1 376 pass in 7m 17s

   164 files  ±0     164 suites  ±0   7m 17s ⏱️ -49s
1 413 tests ±0  1 376 ✔️  - 1  36 💤 ±0  1 +1 
2 792 runs  ±0  2 755 ✔️  - 1  36 💤 ±0  1 +1 

Results for commit 1a98cb2. ± Comparison against earlier commit 1b02430.

Annotations

Check warning on line 0 in com.saveourtool.diktat.util.CliUtilsKtTest

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (macOS, EnricoMi/publish-unit-test-result-action@v2)

walkByGlobWithRelativePath(Path) (com.saveourtool.diktat.util.CliUtilsKtTest) failed

diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.util.CliUtilsKtTest.xml [took 0s]
Raw output
java.lang.AssertionError: 
Expecting actual:
  []
to contain exactly in any order:
  [/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/junit4523305944216469/folder1/subFolder11/Test1.kt,
    /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/junit4523305944216469/folder1/subFolder11/Test2.kt]
but could not find the following elements:
  [/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/junit4523305944216469/folder1/subFolder11/Test1.kt,
    /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/junit4523305944216469/folder1/subFolder11/Test2.kt]

	at com.saveourtool.diktat.util.CliUtilsKtTest.walkByGlobWithRelativePath(CliUtilsKtTest.kt:70)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at java.util.ArrayList.forEach(ArrayList.java:1259)