Skip to content

Commit

Permalink
test: make tests OS-independent (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vampire authored Jan 31, 2025
1 parent 2680043 commit f9d0e25
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class LogicTest : FunSpec({
None.
For action with manifest at 'some/directory/action.yaml':
For action with manifest at 'some${File.separatorChar}directory${File.separatorChar}action.yaml':
Result:
${'\u001b'}[32m✔ VALID${'\u001b'}[0m
Expand Down Expand Up @@ -166,7 +166,7 @@ class LogicTest : FunSpec({
None.
For action with manifest at 'some/directory/action.yaml':
For action with manifest at 'some${File.separatorChar}directory${File.separatorChar}action.yaml':
Result:
${'\u001b'}[31m❌ INVALID: Input/output mismatch detected. Please fix it first, then rerun to see other possible violations.${'\u001b'}[0m
Expand Down Expand Up @@ -199,7 +199,7 @@ class LogicTest : FunSpec({
Overall result:
✔ VALID
For action with manifest at 'some/directory/action.yaml':
For action with manifest at 'some${File.separatorChar}directory${File.separatorChar}action.yaml':
Result:
${'\u001b'}[32m✔ VALID${'\u001b'}[0m
Expand Down Expand Up @@ -230,7 +230,7 @@ class LogicTest : FunSpec({
Overall result:
${'\u001b'}[31m❌ INVALID${'\u001b'}[0m
For action with manifest at 'some/directory/action.yaml':
For action with manifest at 'some${File.separatorChar}directory${File.separatorChar}action.yaml':
Result:
${'\u001b'}[31m❌ INVALID: Input/output mismatch detected. Please fix it first, then rerun to see other possible violations.${'\u001b'}[0m
Expand Down

0 comments on commit f9d0e25

Please sign in to comment.