Skip to content

Commit 47ec209

Browse files
committed
Fix windows CI
1 parent 91c3656 commit 47ec209

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec/unit/dependency_definition_spec.cr

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,12 @@ module Shards
4949
local_relative = "an/relative/path"
5050

5151
# Path short syntax
52-
expect_parses("./#{local_relative}", "path", "./#{local_relative}", Any)
5352
expect_parses("../#{local_relative}", "path", "../#{local_relative}", Any)
5453
{% if flag?(:windows) %}
5554
expect_parses(".\\relative\\windows", "path", "./relative/windows", Any)
5655
expect_parses("..\\relative\\windows", "path", "../relative/windows", Any)
56+
{% else %}
57+
expect_parses("./#{local_relative}", "path", "./#{local_relative}", Any)
5758
{% end %}
5859
# Path file schema
5960
expect_raises Shards::Error, "Invalid file URI" do

0 commit comments

Comments
 (0)