Skip to content

Commit 1c1bd98

Browse files
committed
Normalize paths
1 parent 9b85bd7 commit 1c1bd98

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

rewatch/tests/compile.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ git checkout -- packages/new-namespace/src/NS_alias.res
8585
# and FileToTest.res is not listed as "type":"dev"
8686
echo 'open WebAPI' >> packages/with-dev-deps/src/FileToTest.res
8787
rewatch build --snapshot-output &> ../tests/snapshots/bs-dev-dependency-used-by-non-dev-source.txt
88+
normalize_paths ../tests/snapshots/bs-dev-dependency-used-by-non-dev-source.txt
8889
git checkout -- packages/with-dev-deps/src/FileToTest.res
8990

9091
# it should compile dev dependencies with the --dev flag

rewatch/tests/snapshots/bs-dev-dependency-used-by-non-dev-source.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Parsed 2 source files
33
Compiled 2 modules
44

55
We've found a bug for you!
6-
/Users/nojaf/Projects/rescript/rewatch/testrepo/packages/with-dev-deps/src/FileToTest.res:2:6-11
6+
/packages/with-dev-deps/src/FileToTest.res:2:6-11
77

88
1 │ let add = (a, b) => a + b
99
2 │ open WebAPI

0 commit comments

Comments
 (0)