summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-04-12 22:25:43 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-04-12 22:25:43 (GMT)
commit8d4c5ae6dfd812b753109a25d7e84f7e524d4bf0 (patch)
treeb437de37b5447daa02263901aca4ef7a7d2d0386 /tests
parentb4cbeedf6ed4e04dd85c92e8345b4cb8dcaab27d (diff)
Improved support of type prefix for symbols.
Diffstat (limited to 'tests')
-rw-r--r--tests/format/symbol.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/format/symbol.py b/tests/format/symbol.py
index fed4133..0b5f0a1 100644
--- a/tests/format/symbol.py
+++ b/tests/format/symbol.py
@@ -80,16 +80,16 @@ class TestBinarySymbols(ChrysalideTestCase):
ret = symbol.unset_flag(BinSymbol.SymbolFlag.NONE)
self.assertFalse(ret)
- ret = symbol.set_flag(BinSymbol.SymbolFlag.PREFIXED_NAME)
+ ret = symbol.set_flag(BinSymbol.SymbolFlag.HAS_NM_PREFIX)
self.assertTrue(ret)
- ret = symbol.has_flag(BinSymbol.SymbolFlag.PREFIXED_NAME)
+ ret = symbol.has_flag(BinSymbol.SymbolFlag.HAS_NM_PREFIX)
self.assertTrue(ret)
- ret = symbol.unset_flag(BinSymbol.SymbolFlag.PREFIXED_NAME)
+ ret = symbol.unset_flag(BinSymbol.SymbolFlag.HAS_NM_PREFIX)
self.assertTrue(ret)
- ret = symbol.has_flag(BinSymbol.SymbolFlag.PREFIXED_NAME)
+ ret = symbol.has_flag(BinSymbol.SymbolFlag.HAS_NM_PREFIX)
self.assertFalse(ret)