From d478ec56da88268dd39752c73d42c2f60a20ef38 Mon Sep 17 00:00:00 2001 From: Brendan Hansknecht Date: Mon, 27 Nov 2023 17:59:41 -0800 Subject: [PATCH] add missing ToInspector case --- crates/compiler/test_derive/src/util.rs | 5 +++++ .../specialize/inspect/{bool.txt => bool_to_inspector.txt} | 0 2 files changed, 5 insertions(+) rename crates/compiler/uitest/tests/ability/specialize/inspect/{bool.txt => bool_to_inspector.txt} (100%) diff --git a/crates/compiler/test_derive/src/util.rs b/crates/compiler/test_derive/src/util.rs index bb5d7bb6dc8..0f5cacd2e79 100644 --- a/crates/compiler/test_derive/src/util.rs +++ b/crates/compiler/test_derive/src/util.rs @@ -68,6 +68,11 @@ fn module_source_and_path(builtin: DeriveBuiltin) -> (ModuleId, &'static str, Pa module_source(ModuleId::BOOL), builtins_path.join("Bool.roc"), ), + DeriveBuiltin::ToInspector => ( + ModuleId::INSPECT, + module_source(ModuleId::INSPECT), + builtins_path.join("Inspect.roc"), + ), } } diff --git a/crates/compiler/uitest/tests/ability/specialize/inspect/bool.txt b/crates/compiler/uitest/tests/ability/specialize/inspect/bool_to_inspector.txt similarity index 100% rename from crates/compiler/uitest/tests/ability/specialize/inspect/bool.txt rename to crates/compiler/uitest/tests/ability/specialize/inspect/bool_to_inspector.txt