Permalink
Browse files

Add test that "mpu" command is not case sensitive

  • Loading branch information...
1 parent 454bfa0 commit 624b8287966417e28b7cc63562affe8086cea415 @mnaberez committed Aug 21, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/py65/tests/test_monitor.py
@@ -318,6 +318,12 @@ def test_mpu_selects_65C02(self):
self.assertEqual('Reset with new MPU 65C02', lines[0])
self.assertEqual('65C02', mon._mpu.name)
+ def test_mpu_select_is_not_case_sensitive(self):
+ stdout = StringIO()
+ mon = Monitor(stdout=stdout)
+ mon.do_mpu('65c02')
+ self.assertEqual('65C02', mon._mpu.name)
+
def test_help_mpu(self):
stdout = StringIO()
mon = Monitor(stdout=stdout)

0 comments on commit 624b828

Please sign in to comment.