| OLD | NEW |
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 import 'package:expect/expect.dart'; | 5 import 'package:expect/expect.dart'; |
| 6 import 'package:mdns/src/constants.dart'; | 6 import 'package:mdns/src/constants.dart'; |
| 7 import 'package:mdns/src/packet.dart'; | 7 import 'package:mdns/src/packet.dart'; |
| 8 | 8 |
| 9 main() { | 9 main() { |
| 10 testValidPackages(); | 10 testValidPackages(); |
| 11 testBadPackages(); | 11 testBadPackages(); |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 if (x.length == 1) s += '0'; | 213 if (x.length == 1) s += '0'; |
| 214 s += x; | 214 s += x; |
| 215 if (((i + 1) % 8) == 0) { | 215 if (((i + 1) % 8) == 0) { |
| 216 s += ','; | 216 s += ','; |
| 217 print(s); | 217 print(s); |
| 218 s = ''; | 218 s = ''; |
| 219 } | 219 } |
| 220 } | 220 } |
| 221 if (s.length != 0) print(s); | 221 if (s.length != 0) print(s); |
| 222 } | 222 } |
| OLD | NEW |