Skip to content

Commit 2a43706

Browse files
committed
No open RescriptCore
1 parent 3f049c4 commit 2a43706

26 files changed

+0
-51
lines changed

tests/tests/src/core/Core_ArrayTests.res

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
open RescriptCore
2-
31
let eq = (a, b) => a == b
42

53
Test.run(__POS_OF__("make"), Array.make(~length=6, 7), eq, [7, 7, 7, 7, 7, 7])

tests/tests/src/core/Core_DictTests.res

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
open RescriptCore
2-
31
let eq = (a, b) => a == b
42

53
Test.run(__POS_OF__("make"), Dict.make(), eq, %raw(`{}`))

tests/tests/src/core/Core_ErrorTests.res

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
open RescriptCore
2-
31
let panicTest = () => {
42
let caught = try panic("uh oh") catch {
53
| Exn.Error(err) => Error.message(err)

tests/tests/src/core/Core_FloatTests.res

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
open RescriptCore
2-
31
let eq = (a, b) => a == b
42

53
Test.run(__POS_OF__("clamp"), Float.clamp(4.2), eq, 4.2)

tests/tests/src/core/Core_ImportTests.res

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
open RescriptCore
2-
31
let main = async () => {
42
let eq = await import(IntTests.eq)
53
Test.run(__POS_OF__("dynamic import - Int tests - eq"), 1, eq, 1)

tests/tests/src/core/Core_IntTests.res

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
open RescriptCore
2-
31
let eq = (a, b) => a == b
42

53
let catch = f =>

tests/tests/src/core/Core_IteratorTests.res

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
open RescriptCore
2-
31
let eq = (a, b) => a == b
42

53
let iterator: Iterator.t<string> = %raw(`

tests/tests/src/core/Core_JsonTests.res

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
open RescriptCore
2-
31
let decodeJsonTest = () => {
42
let json: JSON.t = %raw(`{"someProp":{"otherProp": null, "thirdProp": [true, false]}}`)
53

tests/tests/src/core/Core_NullableTests.res

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
open RescriptCore
2-
31
let shouldHandleNullableValues = () => {
42
let tNull: Nullable.t<string> = %raw("null")
53
let tUndefined: Nullable.t<string> = %raw("undefined")

tests/tests/src/core/Core_ObjectTests.res

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
open RescriptCore
2-
31
let eq = (a, b) => a == b
42

53
// ===== is =====

tests/tests/src/core/Core_PromiseTest.res

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
open RescriptCore
2-
31
exception TestError(string)
42

53
let fail = msg => {

tests/tests/src/core/Core_ResultTests.res

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
open RescriptCore
2-
31
let eq = (a, b) => a == b
42

53
// =======
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
open RescriptCore
2-
31
let eq = (a, b) => a == b
42

53
Test.run(__POS_OF__("String.equal optimization"), String.equal("one", "three"), eq, false)

tests/tests/src/core/Core_TempTests.res

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
open RescriptCore
2-
31
include IntlTests
42

53
Console.info("")

tests/tests/src/core/Core_TestTests.res

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
open RescriptCore
2-
31
let eq = (a, b) => a == b
42

53
let bign = BigInt.fromFloat(Float.Constants.maxValue)

tests/tests/src/core/Core_TypedArrayTests.res

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
open RescriptCore
2-
31
let eq = (a, b) => a == b
42

53
// ===== BigInt64Array Tests =====

tests/tests/src/core/Test.res

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Test "framework"
22

3-
43
@scope("process") @val external exit: int => unit = "exit"
54
@scope("Error") @val external captureStackTrace: {..} => unit = "captureStackTrace"
65
@module("@babel/code-frame") @val

tests/tests/src/core/intl/Core_IntlTests.res

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ include Intl__PluralRulesTest
77
include Intl__RelativeTimeFormatTest
88
include Intl__SegmenterTest
99

10-
open RescriptCore
11-
1210
Console.log("---")
1311
Console.log("Intl")
1412

tests/tests/src/core/intl/Core_Intl_CollatorTest.res

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
open RescriptCore
2-
31
Console.log("---")
42
Console.log("Intl.Collator")
53

tests/tests/src/core/intl/Core_Intl_DateTimeFormatTest.res

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
open RescriptCore
2-
31
Console.log("---")
42
Console.log("Intl.DateTimeFormat")
53

tests/tests/src/core/intl/Core_Intl_ListFormatTest.res

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
open RescriptCore
2-
31
Console.log("---")
42
Console.log("Intl.ListFormat")
53

tests/tests/src/core/intl/Core_Intl_LocaleTest.res

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
open RescriptCore
2-
31
Console.log("---")
42
Console.log("Intl.Locale")
53

tests/tests/src/core/intl/Core_Intl_NumberFormatTest.res

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
open RescriptCore
2-
31
Console.log("---")
42
Console.log("Intl.NumberFormat")
53

tests/tests/src/core/intl/Core_Intl_PluralRulesTest.res

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
open RescriptCore
2-
31
Console.log("---")
42
Console.log("Intl.PluralRules")
53

tests/tests/src/core/intl/Core_Intl_RelativeTimeFormatTest.res

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
open RescriptCore
2-
31
Console.log("---")
42
Console.log("Intl.RelativeTimeFormat")
53

tests/tests/src/core/intl/Core_Intl_SegmenterTest.res

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
open RescriptCore
2-
31
Console.log("---")
42
Console.log("Intl.Segmenter")
53

0 commit comments

Comments
 (0)