⬆️ bandit
This commit is contained in:
parent
1129759b52
commit
0aac2ab722
6 changed files with 6 additions and 4 deletions
2
externals/bandit
vendored
2
externals/bandit
vendored
|
|
@ -1 +1 @@
|
|||
Subproject commit f14ade4fbba72f2e8ba3a7f47318eb07614a39d4
|
||||
Subproject commit bfdb8a3322a2e54b11aea64d84f9788d83477e83
|
||||
|
|
@ -181,7 +181,7 @@ describe("extract_tokens", []() {
|
|||
Seq{CharacterSet{{'a'}}, CharacterSet{{'b'}}},
|
||||
true
|
||||
},
|
||||
}))
|
||||
}));
|
||||
});
|
||||
|
||||
it("does not move entire rules into the lexical grammar if their content is used elsewhere in the grammar", [&]() {
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ describe("intern_symbols", []() {
|
|||
VariableTypeNamed,
|
||||
Symbol::non_terminal(2),
|
||||
},
|
||||
}))
|
||||
}));
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
using std::string;
|
||||
using std::cout;
|
||||
using namespace snowhouse;
|
||||
|
||||
static void append_text_to_scope_sequence(ScopeSequence *sequence,
|
||||
ScopeStack *current_scopes,
|
||||
|
|
|
|||
|
|
@ -310,7 +310,7 @@ describe("Node", [&]() {
|
|||
AssertThat(ts_node_start_point(child7), Equals<TSPoint>({ 8, 0 }));
|
||||
AssertThat(ts_node_end_point(child7), Equals<TSPoint>({ 8, 1 }));
|
||||
|
||||
AssertThat(ts_node_child_count(child6), Equals<size_t>(3))
|
||||
AssertThat(ts_node_child_count(child6), Equals<size_t>(3));
|
||||
|
||||
TSNode left_brace = ts_node_child(child6, 0);
|
||||
TSNode pair = ts_node_child(child6, 1);
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ namespace tree_sitter {}
|
|||
|
||||
using namespace std;
|
||||
using namespace bandit;
|
||||
using namespace snowhouse;
|
||||
using namespace tree_sitter;
|
||||
|
||||
#define START_TEST go_bandit([]() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue