@@ -143,7 +143,7 @@ mod group3_test {
143143
144144 // Zero Page Testing
145145 print_title ! ( "Zero Page Test" ) ;
146- cpu. load_and_reset ( ( vec ! [ first_half + zp_end, 0xFF ] ) ) ;
146+ cpu. load_and_reset ( vec ! [ first_half + zp_end, 0xFF ] ) ;
147147 cpu. memory [ 0xFF ] = load_mem;
148148 reg_loader ( cpu, x, load_reg) ;
149149 cpu. run ( ) ;
@@ -171,7 +171,7 @@ mod group3_test {
171171
172172 // Absolute testing
173173 // Note 0xFE is first due to little endian
174- cpu. load_and_reset ( ( vec ! [ first_half + abs_end, 0xFE , 0x01 ] ) ) ;
174+ cpu. load_and_reset ( vec ! [ first_half + abs_end, 0xFE , 0x01 ] ) ;
175175 cpu. memory [ 0x01FE ] = load_mem;
176176 reg_loader ( cpu, x, load_reg) ;
177177 cpu. run ( ) ;
@@ -218,7 +218,7 @@ mod group3_test {
218218 // Set x to be true for cpx, false for cpy
219219 for i in 0 ..2 {
220220 let mut cpu = CPU :: new ( ) ;
221- let mut x = i == 1 ;
221+ let x = i == 1 ;
222222 gen_test ( & mut cpu, x, 0 , 0x05 , 0x05 ) ;
223223 assert ! ( !cpu. flags. contains( CpuFlags :: NEGATIVE ) && !cpu. flags. contains( CpuFlags :: ZERO ) ) ;
224224
@@ -250,7 +250,7 @@ mod group3_test {
250250 second_half_zp = g2_op:: ZP ;
251251 second_half_abs = g2_op:: ABS ;
252252 }
253- cpu. load_and_reset ( ( vec ! [ first_half + second_half_zp, 0xA1 ] ) ) ;
253+ cpu. load_and_reset ( vec ! [ first_half + second_half_zp, 0xA1 ] ) ;
254254 reg_loader ( & mut cpu, x, load_reg) ;
255255 cpu. run ( ) ;
256256 assert ! (
@@ -260,7 +260,7 @@ mod group3_test {
260260
261261 // Absolute testing
262262 // Note 0xFE is first due to little endian
263- cpu. load_and_reset ( ( vec ! [ first_half + second_half_abs, 0xFE , 0x01 ] ) ) ;
263+ cpu. load_and_reset ( vec ! [ first_half + second_half_abs, 0xFE , 0x01 ] ) ;
264264 reg_loader ( & mut cpu, x, load_reg) ;
265265 cpu. run ( ) ;
266266 assert ! (
0 commit comments