From fb0b35e05f772bd415fe264267bbbcde2e0accda Mon Sep 17 00:00:00 2001 From: Antoine Coeur Date: Wed, 6 Feb 2019 15:44:39 +0800 Subject: BaseTools: Various typo Various typo in BaseTools. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Coeur Reviewed-by: Liming Gao --- BaseTools/Source/Python/UPT/UnitTest/DecParserUnitTest.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'BaseTools/Source/Python/UPT/UnitTest/DecParserUnitTest.py') diff --git a/BaseTools/Source/Python/UPT/UnitTest/DecParserUnitTest.py b/BaseTools/Source/Python/UPT/UnitTest/DecParserUnitTest.py index afea4a438b..752a9ea446 100644 --- a/BaseTools/Source/Python/UPT/UnitTest/DecParserUnitTest.py +++ b/BaseTools/Source/Python/UPT/UnitTest/DecParserUnitTest.py @@ -61,9 +61,9 @@ class MacroParserTestCase(unittest.TestCase): self.dec = _DecBase(FileContent('dummy', [])) def testCorrectMacro(self): - self.dec._MacroParser('DEFINE MARCRO1 = test1') - self.failIf('MARCRO1' not in self.dec._LocalMacro) - self.assertEqual(self.dec._LocalMacro['MARCRO1'], 'test1') + self.dec._MacroParser('DEFINE MACRO1 = test1') + self.failIf('MACRO1' not in self.dec._LocalMacro) + self.assertEqual(self.dec._LocalMacro['MACRO1'], 'test1') def testErrorMacro1(self): # Raise fatal error, macro name must be upper case letter -- cgit v1.2.3