diff options
| author | Nathan Whetsell <nathan.whetsell@gmail.com> | 2017-05-26 17:29:45 -0400 |
|---|---|---|
| committer | Nathan Whetsell <nathan.whetsell@gmail.com> | 2017-05-26 17:29:45 -0400 |
| commit | 2235e4a7cd8b91cbd277643ad523610fcee84f98 (patch) | |
| tree | adb3615aeb67809610b6f61b4b05061cf3c36357 /tests | |
| parent | ac130af27587d125c2cad06277d4def98a7a7426 (diff) | |
| download | pygments-2235e4a7cd8b91cbd277643ad523610fcee84f98.tar.gz | |
Fix issue with opcode types
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/examplefiles/test.orc | 2 | ||||
| -rw-r--r-- | tests/test_csound.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/examplefiles/test.orc b/tests/examplefiles/test.orc index 59bf7f66..d113303e 100644 --- a/tests/examplefiles/test.orc +++ b/tests/examplefiles/test.orc @@ -9,7 +9,7 @@ instr/**/1,/**/N_a_M_e_,/**/+Name/**/// outc:a(aSignal) endin -opcode/**/aUDO,/**/0,/**/aik// +opcode/**/aUDO,/**/i[],/**/aik// aUDO endop diff --git a/tests/test_csound.py b/tests/test_csound.py index 610dec1a..b5094fc6 100644 --- a/tests/test_csound.py +++ b/tests/test_csound.py @@ -84,7 +84,7 @@ class CsoundOrchestraTest(unittest.TestCase): def testUserDefinedOpcodes(self): fragment = dedent('''\ - opcode/**/aUDO,/**/0,/**/aik// + opcode/**/aUDO,/**/i[],/**/aik// aUDO endop ''') @@ -94,7 +94,7 @@ class CsoundOrchestraTest(unittest.TestCase): (Name.Function, u'aUDO'), (Punctuation, u','), (Comment.Multiline, u'/**/'), - (Keyword.Type, u'0'), + (Keyword.Type, u'i[]'), (Punctuation, u','), (Comment.Multiline, u'/**/'), (Keyword.Type, u'aik'), |
