From c99a84689b8665d8d2664218c524365fd4aabc53 Mon Sep 17 00:00:00 2001 From: Chris Smowton Date: Wed, 21 Aug 2024 09:56:08 +0100 Subject: [PATCH] Switch test expectations to use unix-style paths --- .../all-platforms/go/configure-baseline/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/ql/integration-tests/all-platforms/go/configure-baseline/test.py b/go/ql/integration-tests/all-platforms/go/configure-baseline/test.py index ea4143496662..b0dbb86365bc 100644 --- a/go/ql/integration-tests/all-platforms/go/configure-baseline/test.py +++ b/go/ql/integration-tests/all-platforms/go/configure-baseline/test.py @@ -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"