Skip to content

Commit 38459ba

Browse files
authored
add rewatch tests for files starting with lowercase letter (#7569)
1 parent 3d45c38 commit 38459ba

File tree

6 files changed

+55
-0
lines changed

6 files changed

+55
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"name": "@testrepo/file-casing",
3+
"version": "0.0.1",
4+
"keywords": [
5+
"rescript"
6+
],
7+
"author": "",
8+
"license": "MIT"
9+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"name": "@testrepo/file-casing",
3+
"sources": [
4+
{
5+
"dir": "src",
6+
"subdirs": true
7+
}
8+
],
9+
"package-specs": [
10+
{
11+
"module": "es6",
12+
"in-source": true
13+
}
14+
],
15+
"suffix": ".mjs",
16+
"bs-dependencies": [],
17+
"bsc-flags": [],
18+
"jsx": {
19+
"version": 4
20+
}
21+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// Generated by ReScript, PLEASE EDIT WITH CARE
2+
3+
import * as Produce$NamespaceCasingAPI from "./produce.mjs";
4+
5+
let x = Produce$NamespaceCasingAPI.meh(1);
6+
7+
export {
8+
x,
9+
}
10+
/* x Not a pure module */
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
let x = Produce.meh(1)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Generated by ReScript, PLEASE EDIT WITH CARE
2+
3+
4+
function meh(param) {
5+
return true;
6+
}
7+
8+
export {
9+
meh,
10+
}
11+
/* No side effect */
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
let meh = (_: int) => {
2+
true
3+
}

0 commit comments

Comments
 (0)