Skip to content

Commit

Permalink
pug-lexer: delete invalid tests
Browse files Browse the repository at this point in the history
Makes no sense to test features that no longer exist.
  • Loading branch information
matheusmoreira committed Aug 21, 2023
1 parent 2001b41 commit 1b61a1f
Show file tree
Hide file tree
Showing 41 changed files with 12,862 additions and 28,394 deletions.
40,863 changes: 12,859 additions & 28,004 deletions packages/pug-lexer/test/__snapshots__/index.test.js.snap

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions packages/pug-lexer/test/cases/attr-es2015.pug

This file was deleted.

7 changes: 0 additions & 7 deletions packages/pug-lexer/test/cases/attrs-data.pug

This file was deleted.

22 changes: 0 additions & 22 deletions packages/pug-lexer/test/cases/attrs.js.pug

This file was deleted.

4 changes: 1 addition & 3 deletions packages/pug-lexer/test/cases/attrs.pug
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ foo(abc
foo(abc
def)

- var attrs = {foo: 'bar', bar: '<baz>'}

div&attributes(attrs)
div(foo=bar bar='<baz>')

a(foo='foo' "bar"="bar")
a(foo='foo' 'bar'='bar')
12 changes: 0 additions & 12 deletions packages/pug-lexer/test/cases/block-code.pug

This file was deleted.

19 changes: 0 additions & 19 deletions packages/pug-lexer/test/cases/blocks-in-if.pug

This file was deleted.

10 changes: 0 additions & 10 deletions packages/pug-lexer/test/cases/case-blocks.pug

This file was deleted.

19 changes: 0 additions & 19 deletions packages/pug-lexer/test/cases/case.pug

This file was deleted.

43 changes: 0 additions & 43 deletions packages/pug-lexer/test/cases/code.conditionals.pug

This file was deleted.

2 changes: 0 additions & 2 deletions packages/pug-lexer/test/cases/code.escape.pug

This file was deleted.

35 changes: 0 additions & 35 deletions packages/pug-lexer/test/cases/code.iteration.pug

This file was deleted.

10 changes: 0 additions & 10 deletions packages/pug-lexer/test/cases/code.pug

This file was deleted.

10 changes: 0 additions & 10 deletions packages/pug-lexer/test/cases/comments-in-case.pug

This file was deleted.

52 changes: 0 additions & 52 deletions packages/pug-lexer/test/cases/each.else.pug

This file was deleted.

8 changes: 0 additions & 8 deletions packages/pug-lexer/test/cases/escape-test.pug

This file was deleted.

6 changes: 0 additions & 6 deletions packages/pug-lexer/test/cases/filters-empty.pug

This file was deleted.

4 changes: 1 addition & 3 deletions packages/pug-lexer/test/cases/html.pug
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
- var version = 1449104952939

<ul>
<li>foo</li>
<li>bar</li>
<li>baz</li>
</ul>

<!--build:js /js/app.min.js?v=#{version}-->
<!--build:js /js/app.min.js?v=1449104952939-->
<!--endbuild-->

p You can <em>embed</em> html as well.
Expand Down
11 changes: 0 additions & 11 deletions packages/pug-lexer/test/cases/inheritance.extend.mixins.pug

This file was deleted.

4 changes: 0 additions & 4 deletions packages/pug-lexer/test/cases/interpolated-mixin.pug

This file was deleted.

15 changes: 0 additions & 15 deletions packages/pug-lexer/test/cases/mixin.merge.pug

This file was deleted.

6 changes: 0 additions & 6 deletions packages/pug-lexer/test/cases/mixins.rest-args.pug

This file was deleted.

2 changes: 0 additions & 2 deletions packages/pug-lexer/test/cases/regression.784.pug

This file was deleted.

3 changes: 1 addition & 2 deletions packages/pug-lexer/test/cases/scripts.pug
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ script.
if (foo) {
bar();
}
script!= 'foo()'
script foo()
script
div
div
19 changes: 0 additions & 19 deletions packages/pug-lexer/test/cases/styles.pug

This file was deleted.

5 changes: 0 additions & 5 deletions packages/pug-lexer/test/cases/tag-blocks.pug

This file was deleted.

Loading

0 comments on commit 1b61a1f

Please sign in to comment.