diff --git a/packages/tests/src/core/S_option_test.res b/packages/tests/src/core/S_option_test.res index 4e7f750c..ec55bb61 100644 --- a/packages/tests/src/core/S_option_test.res +++ b/packages/tests/src/core/S_option_test.res @@ -144,7 +144,7 @@ test("Applies valFromOption for Some()", t => { }) test("Doesn't apply valFromOption for non-undefined literals in option", t => { - let schema: S.t>> = S.option(S.literal(%raw(`null`))) + let schema: S.t>> = S.option(S.literal(%raw(`null`))) // Note: It'll fail without a type annotation, but we can't do anything here t->Assert.deepEqual(Some(%raw(`null`))->S.serializeToUnknownWith(schema), Ok(%raw(`null`)), ())