Skip to content
Permalink
Browse files

feature: Works under Dart II and with reflectable 2.0.x

  • Loading branch information...
MikeMitterer committed Aug 28, 2018
1 parent 927fd69 commit 03b67f5b9c0b074093e3239bcad089902b42f7a2
Showing with 10 additions and 459 deletions.
  1. +1 −0 .gitignore
  2. +6 −6 pubspec.yaml
  3. +0 −150 test/all.reflectable.dart
  4. +0 −150 test/kvpair_test.reflectable.dart
  5. +3 −3 test/mustache_specs.dart
  6. +0 −150 test/mustache_test.reflectable.dart
@@ -4,3 +4,4 @@ packages
/test/spec
/.idea
/.packages
*.reflectable.dart
@@ -6,18 +6,18 @@ description: Mustache template library
homepage: https://github.com/MikeMitterer/relected_mustache

environment:
sdk: '>=1.8.0 <2.0.0'
sdk: ">=2.0.0 <3.0.0"

dependencies:
reflectable: #^2.0.0
path: /Volumes/Daten/DevLocal/DevDart/reflectable
reflectable: ^2.0.0
# path: /Volumes/Daten/DevLocal/DevDart/reflectable

logging: '>=0.11.3 <1.0.0'

dev_dependencies:
test: any

build_runner: ^0.8.10
build_test: ^0.10.0
build_web_compilers: ^0.4.0
build_runner: any
build_test: any
build_web_compilers: any

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
@@ -36,16 +36,16 @@ defineTests() {
if (f is File) {
var filename = f.path;
if (shouldRun(filename)) {
var text = f.readAsStringSync(encoding: UTF8);
var text = f.readAsStringSync(encoding: utf8);
_defineGroupFromFile(filename, text);
}
}
});
}

_defineGroupFromFile(filename, text) {
var json = JSON.decode(text);
var tests = json['tests'];
var jsn = json.decode(text);
var tests = jsn['tests'];
filename = filename.substring(filename.lastIndexOf('/') + 1);
group("Specs of $filename", () {
//Make sure that we reset the state of the Interpolation - Multiple Calls test
Oops, something went wrong.

0 comments on commit 03b67f5

Please sign in to comment.
You can’t perform that action at this time.