Snapshot report for src/__tests__/postcss.js
The actual snapshot is saved in postcss.js.snap.
Generated by AVA.
bad doubled operator
Snapshot 1
`CssSyntaxError: <css input>:1:10: Unexpected "=" found; an operator was already defined.␊
␊
> 1 | [href=foo=bar] {}␊
| ^␊
`
bad lonely asterisk
Snapshot 1
`CssSyntaxError: <css input>:1:2: Expected an attribute.␊
␊
> 1 | [*] {}␊
| ^␊
`
bad lonely caret
Snapshot 1
`CssSyntaxError: <css input>:1:2: Expected an attribute.␊
␊
> 1 | [^] {}␊
| ^␊
`
bad lonely dollar
Snapshot 1
`CssSyntaxError: <css input>:1:2: Expected an attribute.␊
␊
> 1 | [$] {}␊
| ^␊
`
bad lonely equals
Snapshot 1
`CssSyntaxError: <css input>:1:2: Expected an attribute.␊
␊
> 1 | [=] {}␊
| ^␊
`
bad lonely operator
Snapshot 1
`CssSyntaxError: <css input>:1:3: Expected an attribute, found "=" instead.␊
␊
> 1 | [*=] {}␊
| ^␊
`
bad lonely operator (2)
Snapshot 1
`CssSyntaxError: <css input>:1:3: Expected an attribute, found "=" instead.␊
␊
> 1 | [|=] {}␊
| ^␊
`
bad lonely pipe
Snapshot 1
`CssSyntaxError: <css input>:1:2: Expected an attribute.␊
␊
> 1 | [|] {}␊
| ^␊
`
bad lonely tilde
Snapshot 1
`CssSyntaxError: <css input>:1:2: Expected an attribute.␊
␊
> 1 | [~] {}␊
| ^␊
`
bad parentheses
Snapshot 1
`CssSyntaxError: <css input>:1:6: Unexpected "(" found.␊
␊
> 1 | [foo=(bar)] {}␊
| ^␊
`
bad string attribute
Snapshot 1
`CssSyntaxError: <css input>:1:2: Expected an attribute.␊
␊
> 1 | ["hello"] {}␊
| ^␊
`
bad string attribute with value
Snapshot 1
`CssSyntaxError: <css input>:1:2: Expected an attribute followed by an operator preceding the string.␊
␊
> 1 | ["foo"=bar] {}␊
| ^␊
`
missing open parenthesis
Snapshot 1
`CssSyntaxError: <css input>:1:6: Expected an opening parenthesis.␊
␊
> 1 | a b c) {}␊
| ^␊
`
missing open square bracket
Snapshot 1
`CssSyntaxError: <css input>:1:6: Expected an opening square bracket.␊
␊
> 1 | a b c] {}␊
| ^␊
`
missing pseudo class or pseudo element
Snapshot 1
`CssSyntaxError: <css input>:1:6: Expected a pseudo-class or pseudo-element.␊
␊
> 1 | a b c: {}␊
| ^␊
`
space in between colon and word (incorrect pseudo)
Snapshot 1
`CssSyntaxError: <css input>:1:5: Expected a pseudo-class or pseudo-element.␊
␊
> 1 | a b: c {}␊
| ^␊
`
string after colon (incorrect pseudo)
Snapshot 1
`CssSyntaxError: <css input>:1:5: Expected a pseudo-class or pseudo-element.␊
␊
> 1 | a b:"wow" {}␊
| ^␊
`