From 3aeff59b11e980293a58b9c5dfee6ce3e242ecb8 Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Thu, 2 Apr 2020 11:59:35 +0200 Subject: [PATCH] test(interface-types) Rename test cases. --- src/interpreter/instructions/strings.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/interpreter/instructions/strings.rs b/src/interpreter/instructions/strings.rs index 4a673e1..52970cc 100644 --- a/src/interpreter/instructions/strings.rs +++ b/src/interpreter/instructions/strings.rs @@ -259,7 +259,7 @@ mod tests { ); test_executable_instruction!( - test_string_memory = + test_string_lower_memory = instructions: [ Instruction::ArgumentGet { index: 0 }, Instruction::StringLowerMemory { allocator_index: 43 }, @@ -275,7 +275,7 @@ mod tests { ); test_executable_instruction!( - test_string_memory__roundtrip_ = + test_string__roundtrip = instructions: [ Instruction::ArgumentGet { index: 0 }, Instruction::StringLowerMemory { allocator_index: 43 }, @@ -287,7 +287,7 @@ mod tests { ); test_executable_instruction!( - test_string_memory__allocator_does_not_exist = + test_string_lower_memory__allocator_does_not_exist = instructions: [Instruction::StringLowerMemory { allocator_index: 43 }], invocation_inputs: [], instance: Instance { ..Default::default() }, @@ -295,7 +295,7 @@ mod tests { ); test_executable_instruction!( - test_string_memory__stack_is_too_small = + test_string_lower_memory__stack_is_too_small = instructions: [ Instruction::StringLowerMemory { allocator_index: 43 } // ^^ `43` expects 1 value on the stack, none is present @@ -306,7 +306,7 @@ mod tests { ); test_executable_instruction!( - test_string_memory__failure_when_calling_the_allocator = + test_string_lower_memory__failure_when_calling_the_allocator = instructions: [ Instruction::ArgumentGet { index: 0 }, Instruction::StringLowerMemory { allocator_index: 153 } @@ -330,7 +330,7 @@ mod tests { ); test_executable_instruction!( - test_string_memory__invalid_allocator_signature = + test_string_lower_memory__invalid_allocator_signature = instructions: [ Instruction::ArgumentGet { index: 0 }, Instruction::StringLowerMemory { allocator_index: 153 }