this repo has no description
at wasm 70 lines 1.5 kB view raw
1//! This file is generated by build.rs 2//! Do not edit it directly, instead add new test cases to ./cases 3 4use gleam_core::build::Mode; 5 6#[rustfmt::skip] 7#[test] 8fn with_dep_dev() { 9 let output = crate::prepare("./cases/with_dep", Mode::Dev); 10 insta::assert_snapshot!( 11 "with_dep_dev", 12 output, 13 "./cases/with_dep", 14 ); 15} 16 17#[rustfmt::skip] 18#[test] 19fn with_dep_prod() { 20 let output = crate::prepare("./cases/with_dep", Mode::Prod); 21 insta::assert_snapshot!( 22 "with_dep_prod", 23 output, 24 "./cases/with_dep", 25 ); 26} 27 28#[rustfmt::skip] 29#[test] 30fn with_dep_lsp() { 31 let output = crate::prepare("./cases/with_dep", Mode::Lsp); 32 insta::assert_snapshot!( 33 "with_dep_lsp", 34 output, 35 "./cases/with_dep", 36 ); 37} 38 39#[rustfmt::skip] 40#[test] 41fn with_dev_dep_dev() { 42 let output = crate::prepare("./cases/with_dev_dep", Mode::Dev); 43 insta::assert_snapshot!( 44 "with_dev_dep_dev", 45 output, 46 "./cases/with_dev_dep", 47 ); 48} 49 50#[rustfmt::skip] 51#[test] 52fn with_dev_dep_prod() { 53 let output = crate::prepare("./cases/with_dev_dep", Mode::Prod); 54 insta::assert_snapshot!( 55 "with_dev_dep_prod", 56 output, 57 "./cases/with_dev_dep", 58 ); 59} 60 61#[rustfmt::skip] 62#[test] 63fn with_dev_dep_lsp() { 64 let output = crate::prepare("./cases/with_dev_dep", Mode::Lsp); 65 insta::assert_snapshot!( 66 "with_dev_dep_lsp", 67 output, 68 "./cases/with_dev_dep", 69 ); 70}