From 45adf7173ce7b03c7bb1653ac04989c34cd8e249 Mon Sep 17 00:00:00 2001 From: Torsten Ruger Date: Mon, 29 Sep 2014 20:28:05 +0300 Subject: [PATCH] naming, clean --- test/arm/test_add.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/arm/test_add.rb b/test/arm/test_add.rb index 8f750923..da3e8900 100644 --- a/test/arm/test_add.rb +++ b/test/arm/test_add.rb @@ -15,7 +15,7 @@ class TestAdd < MiniTest::Test code = @machine.add :r1 , :r1, 0x22 assert_code code , :add , [0x22,0x10,0x81,0xe2] #e2 81 10 22 end - def test_add_const_shift_lst + def test_add_const_shift code = @machine.add( :r1 , :r1 , 0x22 , shift_lsr: 8) assert_code code , :add , [0x22,0x14,0x81,0xe2] #e2 81 14 23 end @@ -25,6 +25,6 @@ class TestAdd < MiniTest::Test end def test_big_add code = @machine.add :r1 , :r1, 0x220 - assert_code code , :add , [0x20,0x12,0x81,0xe2] #e2 81 12 20 + assert_code code , :add , [0x20,0x12,0x81,0xe2] #e2 81 12 20 e28110dc end end \ No newline at end of file