From dae188c8effc97900da2e1b244233eb67399987c Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Thu, 23 Nov 2017 10:09:00 -0500 Subject: [PATCH] test for unspecified type attribute --- .../samples/binding-input-type-boolean/errors.json | 8 ++++++++ .../samples/binding-input-type-boolean/input.html | 1 + .../errors.json | 0 .../input.html | 0 4 files changed, 9 insertions(+) create mode 100644 test/validator/samples/binding-input-type-boolean/errors.json create mode 100644 test/validator/samples/binding-input-type-boolean/input.html rename test/validator/samples/{binding-input-static-type => binding-input-type-dynamic}/errors.json (100%) rename test/validator/samples/{binding-input-static-type => binding-input-type-dynamic}/input.html (100%) diff --git a/test/validator/samples/binding-input-type-boolean/errors.json b/test/validator/samples/binding-input-type-boolean/errors.json new file mode 100644 index 0000000000..feed6e0d5d --- /dev/null +++ b/test/validator/samples/binding-input-type-boolean/errors.json @@ -0,0 +1,8 @@ +[{ + "message": "'type' attribute must be specified", + "loc": { + "line": 1, + "column": 24 + }, + "pos": 24 +}] \ No newline at end of file diff --git a/test/validator/samples/binding-input-type-boolean/input.html b/test/validator/samples/binding-input-type-boolean/input.html new file mode 100644 index 0000000000..6277fd7484 --- /dev/null +++ b/test/validator/samples/binding-input-type-boolean/input.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/test/validator/samples/binding-input-static-type/errors.json b/test/validator/samples/binding-input-type-dynamic/errors.json similarity index 100% rename from test/validator/samples/binding-input-static-type/errors.json rename to test/validator/samples/binding-input-type-dynamic/errors.json diff --git a/test/validator/samples/binding-input-static-type/input.html b/test/validator/samples/binding-input-type-dynamic/input.html similarity index 100% rename from test/validator/samples/binding-input-static-type/input.html rename to test/validator/samples/binding-input-type-dynamic/input.html