From 725e96b338621b8e1161679d9dc4215212df1e81 Mon Sep 17 00:00:00 2001 From: Tom Whatmore Date: Thu, 25 Jun 2020 16:48:12 +0100 Subject: Move UtfCodepoint functionality into string module --- test/utf_codepoint_test.gleam | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 test/utf_codepoint_test.gleam (limited to 'test/utf_codepoint_test.gleam') diff --git a/test/utf_codepoint_test.gleam b/test/utf_codepoint_test.gleam deleted file mode 100644 index a3747ba..0000000 --- a/test/utf_codepoint_test.gleam +++ /dev/null @@ -1,16 +0,0 @@ -import gleam/should -import gleam/utf_codepoint - -pub fn from_int_test() { - utf_codepoint.from_int(1114444) - |> should.be_error - - utf_codepoint.from_int(65534) - |> should.be_error - - utf_codepoint.from_int(55296) - |> should.be_error - - assert Ok(snake) = utf_codepoint.from_int(128013) - should.equal(<>, <<"🐍":utf8>>) -} -- cgit v1.2.3