aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/gleam/io_test.gleam11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/gleam/io_test.gleam b/test/gleam/io_test.gleam
new file mode 100644
index 0000000..6408127
--- /dev/null
+++ b/test/gleam/io_test.gleam
@@ -0,0 +1,11 @@
+if erlang {
+ import gleam/io
+ import gleam/should
+
+ pub fn debug_test() {
+ "io.debug-test"
+ // prints to stdout, but EUnit will suppress that:
+ |> io.debug()
+ |> should.equal("io.debug-test")
+ }
+}