| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 /// Unit tests for markdown. | 5 /// Unit tests for markdown. |
| 6 library markdown.test.markdown_test; | 6 library markdown.test.markdown_test; |
| 7 | 7 |
| 8 import 'package:unittest/unittest.dart'; | 8 import 'package:test/test.dart'; |
| 9 | 9 |
| 10 import 'package:markdown/markdown.dart'; | 10 import 'package:markdown/markdown.dart'; |
| 11 | 11 |
| 12 import 'util.dart'; | 12 import 'util.dart'; |
| 13 | 13 |
| 14 /// Most of these tests are based on observing how showdown behaves: | 14 /// Most of these tests are based on observing how showdown behaves: |
| 15 /// http://softwaremaniacs.org/playground/showdown-highlight/ | 15 /// http://softwaremaniacs.org/playground/showdown-highlight/ |
| 16 void main() { | 16 void main() { |
| 17 group('Paragraphs', () { | 17 group('Paragraphs', () { |
| 18 validate( | 18 validate( |
| (...skipping 1379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1398 'ignores block-level markdown syntax', | 1398 'ignores block-level markdown syntax', |
| 1399 ''' | 1399 ''' |
| 1400 1. This will not be an <ol>. | 1400 1. This will not be an <ol>. |
| 1401 ''', | 1401 ''', |
| 1402 ''' | 1402 ''' |
| 1403 1. This will not be an <ol>. | 1403 1. This will not be an <ol>. |
| 1404 ''', | 1404 ''', |
| 1405 inlineOnly: true); | 1405 inlineOnly: true); |
| 1406 }); | 1406 }); |
| 1407 } | 1407 } |
| OLD | NEW |