OLD | NEW |
1 <CamelCase> | 1 <CamelCase> |
2 <import src="../resources/chai.sky" /> | |
3 <import src="../resources/mocha.sky" /> | |
4 <script> | 2 <script> |
5 describe('Element tag names', function() { | 3 import "../resources/third_party/unittest/unittest.dart"; |
6 it('should have various casing', function() { | 4 import "../resources/unit.dart"; |
7 assert.equal(document.documentElement.tagName, 'CamelCase'); | 5 |
| 6 import "dart:sky"; |
| 7 |
| 8 void main () { |
| 9 initUnit(); |
| 10 |
| 11 test('should have various casing', () { |
| 12 expect(document.documentElement.tagName, equals('CamelCase')); |
8 | 13 |
9 var element = document.createElement('CamelCase'); | 14 var element = document.createElement('CamelCase'); |
10 assert.equal(element.tagName, 'CamelCase'); | 15 expect(element.tagName, equals('CamelCase')); |
11 }); | 16 }); |
12 }); | 17 } |
13 </script> | 18 </script> |
14 </CamelCase> | 19 </CamelCase> |
OLD | NEW |