Skip to content

Commit

Permalink
Remove prefix from test names.
Browse files Browse the repository at this point in the history
  • Loading branch information
renggli committed Nov 1, 2023
1 parent eaea281 commit d395fd0
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions test/regression_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ void main() {
expect(parser, isParseFailure('21', message: 'values do not match'));
});
});
test('https://github.com/petitparser/dart-petitparser/issues/121', () {
test('github.com/petitparser/dart-petitparser/issues/121', () {
final parser = ((letter() | char('_')) &
(letter() | digit() | anyOf('_- ()')).star() &
char('.').not('end of id expected'))
Expand All @@ -331,7 +331,7 @@ void main() {
expect(parser,
isParseFailure('foo.1', message: 'end of id expected', position: 3));
});
test('https://github.com/petitparser/dart-petitparser/issues/126', () {
test('github.com/petitparser/dart-petitparser/issues/126', () {
final parser = ParensGrammar().build();
expect(parser, isParseSuccess('', result: null));
expect(parser, isParseSuccess('()', result: ['(', null, ')']));
Expand All @@ -354,7 +354,7 @@ void main() {
')'
]));
});
group('https://stackoverflow.com/questions/73260748', () {
group('stackoverflow.com/questions/73260748', () {
test('Case 1', () {
final parser = resolve(NestedGrammar1().start());
expect(
Expand Down Expand Up @@ -388,7 +388,7 @@ void main() {
]));
});
});
group('https://stackoverflow.com/questions/75278583', () {
group('stackoverflow.com/questions/75278583', () {
final primitive =
(uppercase() & char('|') & digit().plus() & char('|') & uppercase())
.flatten()
Expand Down Expand Up @@ -439,7 +439,7 @@ void main() {
}
}
});
group('https://stackoverflow.com/questions/75503464', () {
group('stackoverflow.com/questions/75503464', () {
final builder = ExpressionBuilder<Object?>();
final primitive =
seq5(uppercase(), char('|'), digit().plus(), char('|'), uppercase())
Expand Down Expand Up @@ -486,7 +486,7 @@ void main() {
position: 7, message: 'end of input expected'));
});
});
group('https://github.com/petitparser/dart-petitparser/issues/145', () {
group('github.com/petitparser/dart-petitparser/issues/145', () {
test('solution 1', () {
final parser = seq3(
char("*"),
Expand Down Expand Up @@ -514,7 +514,7 @@ void main() {
expect(parser.accept('*invalid *'), isFalse);
});
});
group('https://github.com/petitparser/dart-petitparser/issues/147', () {
group('github.com/petitparser/dart-petitparser/issues/147', () {
final surrogatePair = seq2(
pattern('\uD800-\uDBFF'),
pattern('\uDC00-\uDFFF'),
Expand All @@ -530,7 +530,7 @@ void main() {
expect(surrogatePair, isParseFailure(input));
});
});
group('https://github.com/petitparser/dart-petitparser/issues/155', () {
group('github.com/petitparser/dart-petitparser/issues/155', () {
Parser<String> chars() => anyOf('abc');
Parser<String> direct() => chars().starString().end();
Parser<String> reference() => ref0(chars).starString().end();
Expand All @@ -549,7 +549,7 @@ void main() {
expect(parser.isEqualTo(direct()), isTrue);
});
});
test('https://github.com/petitparser/dart-petitparser/issues/158', () {
test('github.com/petitparser/dart-petitparser/issues/158', () {
final extended = pattern('À-ÿ');
expect(extended, isParseSuccess('ä', result: 'ä'));
expect(extended, isParseSuccess('ï', result: 'ï'));
Expand Down

0 comments on commit d395fd0

Please sign in to comment.