Skip to content

Commit

Permalink
Switch test expectations to use unix-style paths
Browse files Browse the repository at this point in the history
  • Loading branch information
smowton committed Aug 21, 2024
1 parent fc30120 commit c99a846
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ def test(codeql, go):
baseline_info_path = os.path.join("test-db", "baseline-info.json")
with open(baseline_info_path, "r") as f:
baseline_info = json.load(f)
assert set(baseline_info["languages"]["go"]["files"]) == set(["root.go", os.path.join("c", "vendor", "cvendor.go")]), "Expected root.go and cvendor.go in baseline"
assert set(baseline_info["languages"]["go"]["files"]) == set(["root.go", "c/vendor/cvendor.go")]), "Expected root.go and cvendor.go in baseline"

0 comments on commit c99a846

Please sign in to comment.