From 3f148fe4eb1dd9e8c58e700af4f6d9713ccdc57f Mon Sep 17 00:00:00 2001 From: Anton-4 <17049058+Anton-4@users.noreply.github.com> Date: Tue, 31 Aug 2021 12:33:22 +0200 Subject: [PATCH] removed wasm tests relying on unreleased zig version --- compiler/test_gen/src/gen_primitives.rs | 83 +------------------------ 1 file changed, 1 insertion(+), 82 deletions(-) diff --git a/compiler/test_gen/src/gen_primitives.rs b/compiler/test_gen/src/gen_primitives.rs index ca7a80eedb..78391500e1 100644 --- a/compiler/test_gen/src/gen_primitives.rs +++ b/compiler/test_gen/src/gen_primitives.rs @@ -4,9 +4,8 @@ use crate::assert_evals_to; use crate::assert_llvm_evals_to; use crate::assert_non_opt_evals_to; // use crate::assert_wasm_evals_to as assert_evals_to; -use crate::assert_wasm_evals_to; use indoc::indoc; -use roc_std::{RocList, RocStr}; +use roc_std::{RocStr}; #[test] fn basic_int() { @@ -2781,83 +2780,3 @@ fn value_not_exposed_hits_panic() { i64 ); } - -#[test] -fn wasm_test_i32() { - assert_wasm_evals_to!( - indoc!( - r#" - app "test" provides [ main ] to "./platform" - - main : I32 - main = 4 + 5 - "# - ), - 9, - i32 - ); -} - -#[test] -fn wasm_test_small_string() { - assert_wasm_evals_to!( - indoc!( - r#" - app "test" provides [ main ] to "./platform" - - main : Str - main = "hello" - "# - ), - RocStr::from_slice(b"hello"), - RocStr - ); -} - -#[test] -fn wasm_test_big_string() { - assert_wasm_evals_to!( - indoc!( - r#" - app "test" provides [ main ] to "./platform" - - main : Str - main = "goodday may fellow human" - "# - ), - RocStr::from_slice(b"goodday may fellow human"), - RocStr - ); -} - -#[test] -fn wasm_test_u8() { - assert_wasm_evals_to!( - indoc!( - r#" - app "test" provides [ main ] to "./platform" - - main : U8 - main = 3 + 6 - "# - ), - 3 + 6, - u8 - ); -} - -#[test] -fn wasm_test_list_u8() { - assert_wasm_evals_to!( - indoc!( - r#" - app "test" provides [ main ] to "./platform" - - main : List U8 - main = [ 3 + 6 , 5, 6 ] - "# - ), - RocList::from_slice(&[3 + 6, 5, 6]), - RocList - ); -}