Skip to content

TestTemplates fails since 2.7.22 #124

@QuLogic

Description

@QuLogic

The following fail:

github.com/tdewolff/parse/html
--- FAIL: TestTemplates (0.00s)
    --- FAIL: TestTemplates/<p>{{.}}</p> (0.00s)
        lex_test.go:211: 
                
    lex_test.go:211: HasTemplate must match: [] != [true]
    --- FAIL: TestTemplates/<p>_{{.}}_</p> (0.00s)
        lex_test.go:211: 
                
    lex_test.go:211: HasTemplate must match: [false false] != [true]
    --- FAIL: TestTemplates/{{ (0.00s)
        lex_test.go:211: 
                
    lex_test.go:211: HasTemplate must match: [] != [true]
    --- FAIL: TestTemplates/{{' (0.00s)
        lex_test.go:211: 
                
    lex_test.go:211: HasTemplate must match: [] != [true]
FAIL

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions