Skip to content

Commit

Permalink
format jscomp/test again
Browse files Browse the repository at this point in the history
  • Loading branch information
cometkim committed Aug 27, 2024
1 parent 73df372 commit aec48a9
Show file tree
Hide file tree
Showing 127 changed files with 447 additions and 258 deletions.
8 changes: 4 additions & 4 deletions jscomp/test/arity_deopt.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion jscomp/test/arity_deopt.res
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ let test_id = ref(0)
let eq = (loc, x, y) => {
incr(test_id)
suites :=
list{(loc ++ (" id " ++ Js.Int.toString(test_id.contents)), _ => Mt.Eq(x, y)), ...suites.contents}
list{
(loc ++ (" id " ++ Js.Int.toString(test_id.contents)), _ => Mt.Eq(x, y)),
...suites.contents,
}
}

/* let f = fun x y */
Expand Down
20 changes: 10 additions & 10 deletions jscomp/test/array_subtle_test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion jscomp/test/array_subtle_test.res
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ let test_id = ref(0)
let eq = (loc, (x, y)) => {
incr(test_id)
suites :=
list{(loc ++ (" id " ++ Js.Int.toString(test_id.contents)), _ => Mt.Eq(x, y)), ...suites.contents}
list{
(loc ++ (" id " ++ Js.Int.toString(test_id.contents)), _ => Mt.Eq(x, y)),
...suites.contents,
}
}

let v = [1, 2, 3, 3]
Expand Down
2 changes: 1 addition & 1 deletion jscomp/test/ast_abstract_test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion jscomp/test/ast_abstract_test.res
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ let test_id = ref(0)
let eq = (loc, x, y) => {
incr(test_id)
suites :=
list{(loc ++ (" id " ++ Js.Int.toString(test_id.contents)), _ => Mt.Eq(x, y)), ...suites.contents}
list{
(loc ++ (" id " ++ Js.Int.toString(test_id.contents)), _ => Mt.Eq(x, y)),
...suites.contents,
}
}

@deriving({jsConverter: newType})
Expand Down
14 changes: 7 additions & 7 deletions jscomp/test/bs_auto_uncurry_test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion jscomp/test/bs_auto_uncurry_test.res
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ let test_id = ref(0)
let eq = (loc, x, y) => {
incr(test_id)
suites :=
list{(loc ++ (" id " ++ Js.Int.toString(test_id.contents)), _ => Mt.Eq(x, y)), ...suites.contents}
list{
(loc ++ (" id " ++ Js.Int.toString(test_id.contents)), _ => Mt.Eq(x, y)),
...suites.contents,
}
}

@send external map: (array<'a>, 'a => 'b) => array<'b> = "map"
Expand Down
4 changes: 2 additions & 2 deletions jscomp/test/bs_ignore_effect.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion jscomp/test/bs_ignore_effect.res
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ let test_id = ref(0)
let eq = (loc, x, y) => {
incr(test_id)
suites :=
list{(loc ++ (" id " ++ Js.Int.toString(test_id.contents)), _ => Mt.Eq(x, y)), ...suites.contents}
list{
(loc ++ (" id " ++ Js.Int.toString(test_id.contents)), _ => Mt.Eq(x, y)),
...suites.contents,
}
}

%%raw(`
Expand Down
5 changes: 4 additions & 1 deletion jscomp/test/bs_map_test.res
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ let test_id = ref(0)
let eq = (loc, x, y) => {
incr(test_id)
suites :=
list{(loc ++ (" id " ++ Js.Int.toString(test_id.contents)), _ => Mt.Eq(x, y)), ...suites.contents}
list{
(loc ++ (" id " ++ Js.Int.toString(test_id.contents)), _ => Mt.Eq(x, y)),
...suites.contents,
}
}

let b = (loc, v) => {
Expand Down
2 changes: 1 addition & 1 deletion jscomp/test/bs_string_test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion jscomp/test/bs_string_test.res
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ let test_id = ref(0)
let eq = (loc, x, y) => {
incr(test_id)
suites :=
list{(loc ++ (" id " ++ Js.Int.toString(test_id.contents)), _ => Mt.Eq(x, y)), ...suites.contents}
list{
(loc ++ (" id " ++ Js.Int.toString(test_id.contents)), _ => Mt.Eq(x, y)),
...suites.contents,
}
}

let () = eq(
Expand Down
4 changes: 2 additions & 2 deletions jscomp/test/bytes_split_gpr_743_test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion jscomp/test/bytes_split_gpr_743_test.res
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ let test_id = ref(0)
let eq = (loc, (x, y)) => {
incr(test_id)
suites :=
list{(loc ++ (" id " ++ Js.Int.toString(test_id.contents)), _ => Mt.Eq(x, y)), ...suites.contents}
list{
(loc ++ (" id " ++ Js.Int.toString(test_id.contents)), _ => Mt.Eq(x, y)),
...suites.contents,
}
}

let () = {
Expand Down
2 changes: 1 addition & 1 deletion jscomp/test/chain_code_test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion jscomp/test/chain_code_test.res
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ let test_id = ref(0)
let eq = (loc, x, y) => {
incr(test_id)
suites :=
list{(loc ++ (" id " ++ Js.Int.toString(test_id.contents)), _ => Mt.Eq(x, y)), ...suites.contents}
list{
(loc ++ (" id " ++ Js.Int.toString(test_id.contents)), _ => Mt.Eq(x, y)),
...suites.contents,
}
}

let f = h => h["x"]["y"]["z"]
Expand Down
Loading

0 comments on commit aec48a9

Please sign in to comment.