Skip to content

Commit db88aea

Browse files
committed
rewrite test files
1 parent 8d439bf commit db88aea

File tree

8 files changed

+5
-58
lines changed

8 files changed

+5
-58
lines changed

tests/lib/rewatch.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
57150
1+
95867

tests/snapshots/dependency-cycle.txt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
[1/7]📦 Building package tree...[1/7] 📦 Built package tree in 0.00s
2-
[2/7] 🕵️ Finding source files...[2/7] 🕵️ Found source files in 0.00s
3-
[3/7] 📝 Reading compile state...[3/7] 📝 Read compile state 0.00s
4-
[4/7] 🧹 Cleaning up previous build...[4/7] 🧹 Cleaned 0/11 0.00s
5-
[5/7] 🧱 Parsed 1 source files in 0.00s
6-
[6/7] ️🌴 Collected deps in 0.00s
7-
[7/7] ️🛑 Compiled 0 modules in 0.00s
81

92
Can't continue... Found a circular dependency in your code:
103
NewNamespace.NS_alias -> Dep01 -> Dep02 -> NS -> NewNamespace.NS_alias
4+
115
Error Building:  ️🛑 Error Running Incremental Build:  ️🛑 Failed to Compile. See Errors Above

tests/snapshots/remove-file.txt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
[1/7]📦 Building package tree...[1/7] 📦 Built package tree in 0.00s
2-
[2/7] 🕵️ Finding source files...[2/7] 🕵️ Found source files in 0.00s
3-
[3/7] 📝 Reading compile state...[3/7] 📝 Read compile state 0.00s
4-
[4/7] 🧹 Cleaning up previous build...[4/7] 🧹 Cleaned 1/11 0.00s
5-
[5/7] 🧱 Parsed 0 source files in 0.00s
6-
[6/7] ️🌴 Collected deps in 0.00s
7-
[7/7] ️🛑 Compiled 1 modules in 0.00s
81

92
We've found a bug for you!
103
/packages/dep01/src/Dep01.res:3:9-17
@@ -21,4 +14,5 @@
2114
- Did you include the file's directory to the "sources" in bsconfig.json?
2215

2316

17+
2418
Error Building:  ️🛑 Error Running Incremental Build:  ️🛑 Failed to Compile. See Errors Above

tests/snapshots/rename-file-internal-dep-namespace.txt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
[1/7]📦 Building package tree...[1/7] 📦 Built package tree in 0.00s
2-
[2/7] 🕵️ Finding source files...[2/7] 🕵️ Found source files in 0.00s
3-
[3/7] 📝 Reading compile state...[3/7] 📝 Read compile state 0.00s
4-
[4/7] 🧹 Cleaning up previous build...[4/7] 🧹 Cleaned 2/11 0.00s
5-
[5/7] 🧱 Parsed 2 source files in 0.00s
6-
[6/7] ️🌴 Collected deps in 0.00s
7-
[7/7] ️🛑 Compiled 3 modules in 0.00s
81

92
We've found a bug for you!
103
/packages/new-namespace/src/NS_alias.res:2:1-16
@@ -21,4 +14,5 @@
2114

2215
Hint: Did you mean Other_module2?
2316

17+
2418
Error Building:  ️🛑 Error Running Incremental Build:  ️🛑 Failed to Compile. See Errors Above

tests/snapshots/rename-file-internal-dep.txt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
[1/7]📦 Building package tree...[1/7] 📦 Built package tree in 0.00s
2-
[2/7] 🕵️ Finding source files...[2/7] 🕵️ Found source files in 0.00s
3-
[3/7] 📝 Reading compile state...[3/7] 📝 Read compile state 0.00s
4-
[4/7] 🧹 Cleaning up previous build...[4/7] 🧹 Cleaned 2/11 0.00s
5-
[5/7] 🧱 Parsed 2 source files in 0.00s
6-
[6/7] ️🌴 Collected deps in 0.00s
7-
[7/7] ️🛑 Compiled 2 modules in 0.00s
81

92
We've found a bug for you!
103
/packages/main/src/Main.res:4:8-24
@@ -21,4 +14,5 @@
2114
- Did you include the file's directory to the "sources" in bsconfig.json?
2215

2316

17+
2418
Error Building:  ️🛑 Error Running Incremental Build:  ️🛑 Failed to Compile. See Errors Above
Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +0,0 @@
1-
[1/7]📦 Building package tree...[1/7] 📦 Built package tree in 0.00s
2-
[2/7] 🕵️ Finding source files...Warning: No implementation file found for interface file (skipping): src/ModuleWithInterface.resi
3-
[2/7] 🕵️ Found source files in 0.00s
4-
[3/7] 📝 Reading compile state...[3/7] 📝 Read compile state 0.00s
5-
[4/7] 🧹 Cleaning up previous build...[4/7] 🧹 Cleaned 2/11 0.00s
6-
[5/7] 🧱 Parsed 1 source files in 0.00s
7-
[6/7] ️🌴 Collected deps in 0.00s
8-
[7/7] 🤺 ️Compiled 1 modules in 0.00s
9-
10-
✨ Finished Compilation in 0.00s

tests/snapshots/rename-file.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +0,0 @@
1-
[1/7]📦 Building package tree...[1/7] 📦 Built package tree in 0.00s
2-
[2/7] 🕵️ Finding source files...[2/7] 🕵️ Found source files in 0.00s
3-
[3/7] 📝 Reading compile state...[3/7] 📝 Read compile state 0.00s
4-
[4/7] 🧹 Cleaning up previous build...[4/7] 🧹 Cleaned 1/11 0.00s
5-
[5/7] 🧱 Parsed 1 source files in 0.00s
6-
[6/7] ️🌴 Collected deps in 0.00s
7-
[7/7] 🤺 ️Compiled 1 modules in 0.00s
8-
9-
✨ Finished Compilation in 0.00s
Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +0,0 @@
1-
[1/7]📦 Building package tree...[1/7] 📦 Built package tree in 0.00s
2-
[2/7] 🕵️ Finding source files...Warning: No implementation file found for interface file (skipping): src/ModuleWithInterface2.resi
3-
[2/7] 🕵️ Found source files in 0.00s
4-
[3/7] 📝 Reading compile state...[3/7] 📝 Read compile state 0.00s
5-
[4/7] 🧹 Cleaning up previous build...[4/7] 🧹 Cleaned 1/11 0.00s
6-
[5/7] 🧱 Parsed 1 source files in 0.00s
7-
[6/7] ️🌴 Collected deps in 0.00s
8-
[7/7] 🤺 ️Compiled 1 modules in 0.00s
9-
10-
✨ Finished Compilation in 0.00s

0 commit comments

Comments
 (0)