aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLouis Pilfold <louis@lpil.uk>2022-01-01 16:12:36 +0000
committerLouis Pilfold <louis@lpil.uk>2022-01-01 16:12:36 +0000
commita4dcfaba11a73fe38595eedfc7a1ce542cdc17d9 (patch)
treebba59fde98d4282a6a3dc150589d34699b80ca3b /test
parentd3d0ff192ebb29827c63e28f3aa8ef101b575efe (diff)
downloadgleam_json-a4dcfaba11a73fe38595eedfc7a1ce542cdc17d9.tar.gz
gleam_json-a4dcfaba11a73fe38595eedfc7a1ce542cdc17d9.zip
Label for nullable
Diffstat (limited to 'test')
-rw-r--r--test/gleam_json_test.gleam4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/gleam_json_test.gleam b/test/gleam_json_test.gleam
index 7617ebb..dae51b6 100644
--- a/test/gleam_json_test.gleam
+++ b/test/gleam_json_test.gleam
@@ -47,12 +47,12 @@ pub fn encode_list_test() {
}
pub fn encode_nullable_some_test() {
- json.nullable(Some(5), json.int)
+ json.nullable(Some(5), the: json.int)
|> should_encode("5")
}
pub fn encode_nullable_none_test() {
- json.nullable(None, json.int)
+ json.nullable(None, the: json.int)
|> should_encode("null")
}