Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Unified Diff: test/markdown_test.dart

Issue 1325903002: Make markdown error-free in strong mode. (Closed) Base URL: https://github.com/dart-lang/markdown.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« lib/src/inline_parser.dart ('K') | « pubspec.yaml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/markdown_test.dart
diff --git a/test/markdown_test.dart b/test/markdown_test.dart
index 7e270a148a0177f4d0165c776b683789eadc60d0..4facb3b364bf2d97b5ad18643adea8e5dc68a0bc 100644
--- a/test/markdown_test.dart
+++ b/test/markdown_test.dart
@@ -1282,7 +1282,7 @@ void main() {
});
group('Resolver', () {
- nyanResolver(text) => new Text('~=[,,_${text}_,,]:3');
+ Node nyanResolver(String text) => new Text('~=[,,_${text}_,,]:3');
nweiz 2015/09/01 20:51:42 :(
Bob Nystrom 2015/09/01 21:14:58 <shrug> Small price to pay overall for better stat
validate(
'simple link resolver',
@@ -1315,8 +1315,6 @@ void main() {
});
group('Custom inline syntax', () {
- var nyanSyntax = [new TextSyntax('nyan', sub: '~=[,,_,,]:3')];
-
validate(
'simple inline syntax',
'''
@@ -1325,7 +1323,7 @@ void main() {
'''
<p>~=[,,_,,]:3</p>
''',
- inlineSyntaxes: nyanSyntax);
+ inlineSyntaxes: [new TextSyntax('nyan', sub: '~=[,,_,,]:3')]);
validate('dart custom links', 'links [are<foo>] awesome',
'<p>links <a>are&lt;foo></a> awesome</p>',
« lib/src/inline_parser.dart ('K') | « pubspec.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698