Fork of daniellemaywood.uk/gleam — Wasm codegen work
2

Configure Feed

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

Snapshot the generated .app file content

Signed-off-by: Charlie Tonneslan <cst0520@gmail.com>

+13 -2
+1 -2
compiler-core/src/codegen.rs
··· 335 335 let app = fs 336 336 .read(Utf8Path::new("/ebin/my_app.app")) 337 337 .expect("read .app"); 338 - assert!(app.contains("my_app@one"), "{app}"); 339 - assert!(app.contains("my_app@two"), "{app}"); 338 + insta::assert_snapshot!(app); 340 339 } 341 340 }
+12
compiler-core/src/snapshots/gleam_core__codegen__tests__app_file_includes_cached_modules.snap
··· 1 + --- 2 + source: compiler-core/src/codegen.rs 3 + expression: app 4 + --- 5 + {application, my_app, [ 6 + {vsn, "0.1.0"}, 7 + {applications, []}, 8 + {description, ""}, 9 + {modules, [my_app@one, 10 + my_app@two]}, 11 + {registered, []} 12 + ]}.