Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
feature: Works under Dart II and with reflectable 2.0.x
  • Loading branch information
MikeMitterer committed Aug 28, 2018
1 parent 927fd69 commit 03b67f5
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 459 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -4,3 +4,4 @@ packages
/test/spec
/.idea
/.packages
*.reflectable.dart
12 changes: 6 additions & 6 deletions pubspec.yaml
Expand Up @@ -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

150 changes: 0 additions & 150 deletions test/all.reflectable.dart

This file was deleted.

150 changes: 0 additions & 150 deletions test/kvpair_test.reflectable.dart

This file was deleted.

6 changes: 3 additions & 3 deletions test/mustache_specs.dart
Expand Up @@ -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
Expand Down

0 comments on commit 03b67f5

Please sign in to comment.