⭐️ A friendly language for building type-safe, scalable systems!
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Failing test

+33
+14
compiler-core/src/javascript/tests/echo.rs
··· 106 106 "# 107 107 ) 108 108 } 109 + 110 + #[test] 111 + pub fn module_named_inspect() { 112 + assert_js!( 113 + ("other", "other/inspect", "pub const x = Nil"), 114 + r#" 115 + import other/inspect 116 + 117 + pub fn main() { 118 + echo inspect.x 119 + } 120 + "# 121 + ) 122 + }
+2
test-echo-output/cases/echo_importing_module_named_inspect/gleam.toml
··· 1 + name = "echo_importing_module_named_inspect" 2 + version = "1.0.0"
+1
test-echo-output/cases/echo_importing_module_named_inspect/src/inspect.gleam
··· 1 + pub const x = Nil
+5
test-echo-output/cases/echo_importing_module_named_inspect/src/main.gleam
··· 1 + import inspect 2 + 3 + pub fn main() { 4 + echo inspect.x 5 + }
+11
test-echo-output/src/generated_tests.rs
··· 69 69 70 70 #[rustfmt::skip] 71 71 #[test] 72 + fn echo_importing_module_named_inspect() { 73 + let output = crate::prepare("./cases/echo_importing_module_named_inspect"); 74 + insta::assert_snapshot!( 75 + "echo_importing_module_named_inspect", 76 + output, 77 + "./cases/echo_importing_module_named_inspect", 78 + ); 79 + } 80 + 81 + #[rustfmt::skip] 82 + #[test] 72 83 fn echo_int() { 73 84 let output = crate::prepare("./cases/echo_int"); 74 85 insta::assert_snapshot!(