• R/O
  • SSH

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Castle: The best Real-Time/Embedded/HighTech language EVER. Attempt 2


Commit MetaInfo

Révision7dbab792d37e98e9249253f61835423f9939fa77 (tree)
l'heure2022-01-02 04:38:16
AuteurAlbert Mietus < albert AT mietus DOT nl >
CommiterAlbert Mietus < albert AT mietus DOT nl >

Message de Log

Refactored tests: no more adding AST dir in test-file, as it is in init

Change Summary

Modification

diff -r 1cf678da302c -r 7dbab792d37e Arpeggio/pytst/d2_ast/test_1_term.py
--- a/Arpeggio/pytst/d2_ast/test_1_term.py Sat Jan 01 20:32:19 2022 +0100
+++ b/Arpeggio/pytst/d2_ast/test_1_term.py Sat Jan 01 20:38:16 2022 +0100
@@ -1,8 +1,6 @@
11 import pytest
22
33 import grammar
4-
5-import sys; sys.path.append("./../AST/") ; sys.path.append("./../../AST/")
64 from castle import peg # has the AST clases
75
86 from . import parse
diff -r 1cf678da302c -r 7dbab792d37e Arpeggio/pytst/d2_ast/test_2_ID.py
--- a/Arpeggio/pytst/d2_ast/test_2_ID.py Sat Jan 01 20:32:19 2022 +0100
+++ b/Arpeggio/pytst/d2_ast/test_2_ID.py Sat Jan 01 20:38:16 2022 +0100
@@ -1,13 +1,10 @@
11 import pytest
22
33 import grammar
4-
5-import sys; sys.path.append("./../AST/") ; sys.path.append("./../../AST/")
64 from castle import peg # has the AST clases
75
86 from . import parse, assert_ID
97
10-
118 def test_rule_name():
129 """The name of a rule is an ID"""
1310
diff -r 1cf678da302c -r 7dbab792d37e Arpeggio/pytst/d2_ast/test_3_rule.py
--- a/Arpeggio/pytst/d2_ast/test_3_rule.py Sat Jan 01 20:32:19 2022 +0100
+++ b/Arpeggio/pytst/d2_ast/test_3_rule.py Sat Jan 01 20:38:16 2022 +0100
@@ -1,13 +1,10 @@
11 import pytest
22
33 import grammar
4-
5-import sys; sys.path.append("./../AST/") ; sys.path.append("./../../AST/")
64 from castle import peg # has the AST clases
75
86 from . import parse, assert_ID
97
10-
118 def test_trivial_rule_with_2IDS():
129 """The most simple rule has only two IDs"""
1310