Skip to content

Commit f9d0e25

Browse files
authored
test: make tests OS-independent (#262)
1 parent 2680043 commit f9d0e25

File tree

1 file changed

+4
-4
lines changed
  • src/jvmTest/kotlin/it/krzeminski/githubactionstyping

1 file changed

+4
-4
lines changed

src/jvmTest/kotlin/it/krzeminski/githubactionstyping/LogicTest.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ class LogicTest : FunSpec({
121121
None.
122122
123123
124-
For action with manifest at 'some/directory/action.yaml':
124+
For action with manifest at 'some${File.separatorChar}directory${File.separatorChar}action.yaml':
125125
Result:
126126
${'\u001b'}[32m✔ VALID${'\u001b'}[0m
127127
@@ -166,7 +166,7 @@ class LogicTest : FunSpec({
166166
None.
167167
168168
169-
For action with manifest at 'some/directory/action.yaml':
169+
For action with manifest at 'some${File.separatorChar}directory${File.separatorChar}action.yaml':
170170
Result:
171171
${'\u001b'}[31m❌ INVALID: Input/output mismatch detected. Please fix it first, then rerun to see other possible violations.${'\u001b'}[0m
172172
@@ -199,7 +199,7 @@ class LogicTest : FunSpec({
199199
Overall result:
200200
✔ VALID
201201
202-
For action with manifest at 'some/directory/action.yaml':
202+
For action with manifest at 'some${File.separatorChar}directory${File.separatorChar}action.yaml':
203203
Result:
204204
${'\u001b'}[32m✔ VALID${'\u001b'}[0m
205205
@@ -230,7 +230,7 @@ class LogicTest : FunSpec({
230230
Overall result:
231231
${'\u001b'}[31m❌ INVALID${'\u001b'}[0m
232232
233-
For action with manifest at 'some/directory/action.yaml':
233+
For action with manifest at 'some${File.separatorChar}directory${File.separatorChar}action.yaml':
234234
Result:
235235
${'\u001b'}[31m❌ INVALID: Input/output mismatch detected. Please fix it first, then rerun to see other possible violations.${'\u001b'}[0m
236236

0 commit comments

Comments
 (0)