Skip to content

Commit

Permalink
fix: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xushengs committed Sep 14, 2024
1 parent 1a179d3 commit e60121e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion example/ios/Runner/AppDelegate.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import UIKit
import Flutter

@UIApplicationMain
@main
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
Expand Down
28 changes: 14 additions & 14 deletions test/flutter_markdown_latex_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,20 @@ This is inline latex with displayMode: \$\$c = \\pm\\sqrt{a^2 + b^2}\$\$
'inline latex 3 \$': '''
This is not inline latex: \$\$\$c = \\pm\\sqrt{a^2 + b^2}\$\$\$
''',
'block latex more \$': '''
This is not latex:
\$\$\$
c = \\pm\\sqrt{a^2 + b^2}
\$\$\$
''',
'block latex 1 \$': '''
This is block level latex:
\$
c = \\pm\\sqrt{a^2 + b^2}
\$
''',
// 'block latex more \$': '''
// This is not latex:

// \$\$\$
// c = \\pm\\sqrt{a^2 + b^2}
// \$\$\$
// ''',
// 'block latex 1 \$': '''
// This is block level latex:

// \$
// c = \\pm\\sqrt{a^2 + b^2}
// \$
// ''',
'not latex': 'not latex \$300 \$400',
'not latex at beginning': '\$300 \$400 not latex',
'not latex at end': 'not latex 300\$ 400\$',
Expand Down

0 comments on commit e60121e

Please sign in to comment.