diff --git a/test/fixtures/render/autotest-pending/custom-tag-target-property/test.js b/test/fixtures/render/autotest-pending/custom-tag-target-property/test.js deleted file mode 100644 index c4013b344..000000000 --- a/test/fixtures/render/autotest-pending/custom-tag-target-property/test.js +++ /dev/null @@ -1 +0,0 @@ -exports.templateData = {}; diff --git a/test/fixtures/render/autotest-pending/custom-tag-declared-attributes/expected.html b/test/fixtures/render/autotest/custom-tag-declared-attributes/expected.html similarity index 100% rename from test/fixtures/render/autotest-pending/custom-tag-declared-attributes/expected.html rename to test/fixtures/render/autotest/custom-tag-declared-attributes/expected.html diff --git a/test/fixtures/render/autotest-pending/custom-tag-declared-attributes/template.marko b/test/fixtures/render/autotest/custom-tag-declared-attributes/template.marko similarity index 100% rename from test/fixtures/render/autotest-pending/custom-tag-declared-attributes/template.marko rename to test/fixtures/render/autotest/custom-tag-declared-attributes/template.marko diff --git a/test/fixtures/render/autotest/custom-tag-declared-attributes/test.js b/test/fixtures/render/autotest/custom-tag-declared-attributes/test.js new file mode 100644 index 000000000..64385cf5f --- /dev/null +++ b/test/fixtures/render/autotest/custom-tag-declared-attributes/test.js @@ -0,0 +1,13 @@ +var expect = require('chai').expect; + +exports.templateData = {}; + +exports.checkError = function(e) { + expect(Array.isArray(e.errors)).to.equal(true); + expect(e.errors.length).to.equal(1); + + var message = e.toString(); + expect(message).to.contain('template.marko:1:0'); + expect(message).to.contain('The tag "test-declared-attributes" in taglib'); + expect(message).to.contain('does not support attribute "age"'); +}; \ No newline at end of file diff --git a/test/fixtures/render/autotest-pending/custom-tag-target-property/expected.html b/test/fixtures/render/autotest/custom-tag-target-property/expected.html similarity index 100% rename from test/fixtures/render/autotest-pending/custom-tag-target-property/expected.html rename to test/fixtures/render/autotest/custom-tag-target-property/expected.html diff --git a/test/fixtures/render/autotest-pending/custom-tag-target-property/template.marko b/test/fixtures/render/autotest/custom-tag-target-property/template.marko similarity index 100% rename from test/fixtures/render/autotest-pending/custom-tag-target-property/template.marko rename to test/fixtures/render/autotest/custom-tag-target-property/template.marko diff --git a/test/fixtures/render/autotest-pending/custom-tag-declared-attributes/test.js b/test/fixtures/render/autotest/custom-tag-target-property/test.js similarity index 100% rename from test/fixtures/render/autotest-pending/custom-tag-declared-attributes/test.js rename to test/fixtures/render/autotest/custom-tag-target-property/test.js