OLD | NEW |
(Empty) | |
| 1 dart_library.library('language/raw_string_test', null, /* Imports */[ |
| 2 'dart_sdk', |
| 3 'expect' |
| 4 ], function load__raw_string_test(exports, dart_sdk, expect) { |
| 5 'use strict'; |
| 6 const core = dart_sdk.core; |
| 7 const dart = dart_sdk.dart; |
| 8 const dartx = dart_sdk.dartx; |
| 9 const expect$ = expect.expect; |
| 10 const raw_string_test = Object.create(null); |
| 11 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT
ype(dart.dynamic, [])))(); |
| 12 raw_string_test.RawStringTest = class RawStringTest extends core.Object { |
| 13 static testMain() { |
| 14 expect$.Expect.equals("abcd", "abcd"); |
| 15 expect$.Expect.equals("", ""); |
| 16 expect$.Expect.equals("", ''); |
| 17 expect$.Expect.equals("", ""); |
| 18 expect$.Expect.equals("", ''); |
| 19 expect$.Expect.equals("''''", "''''"); |
| 20 expect$.Expect.equals('""""', '""""'); |
| 21 expect$.Expect.equals("1\n2\n3", "1\n2\n3"); |
| 22 expect$.Expect.equals("1\n2\n3", '1\n2\n3'); |
| 23 expect$.Expect.equals("1", "1"); |
| 24 expect$.Expect.equals("1", '1'); |
| 25 expect$.Expect.equals("'", "'"); |
| 26 expect$.Expect.equals('"', '"'); |
| 27 expect$.Expect.equals("1", "1"); |
| 28 expect$.Expect.equals("1", "1"); |
| 29 expect$.Expect.equals("$", "$"); |
| 30 expect$.Expect.equals("\\", "\\"); |
| 31 expect$.Expect.equals("\\", '\\'); |
| 32 expect$.Expect.equals("${12}", "${12}"); |
| 33 expect$.Expect.equals("\\a\\b\\c\\d\\e\\f\\g\\h\\i\\j\\k\\l\\m", "\\a\\b\\
c\\d\\e\\f\\g\\h\\i\\j\\k\\l\\m"); |
| 34 expect$.Expect.equals("\\n\\o\\p\\q\\r\\s\\t\\u\\v\\w\\x\\y\\z", "\\n\\o\\
p\\q\\r\\s\\t\\u\\v\\w\\x\\y\\z"); |
| 35 } |
| 36 }; |
| 37 dart.setSignature(raw_string_test.RawStringTest, { |
| 38 statics: () => ({testMain: dart.definiteFunctionType(dart.dynamic, [])}), |
| 39 names: ['testMain'] |
| 40 }); |
| 41 raw_string_test.main = function() { |
| 42 raw_string_test.RawStringTest.testMain(); |
| 43 }; |
| 44 dart.fn(raw_string_test.main, VoidTodynamic()); |
| 45 // Exports: |
| 46 exports.raw_string_test = raw_string_test; |
| 47 }); |
OLD | NEW |