GoogleCloudPlatform / security-response-automation

Take automated actions against threats and vulnerabilities.
Apache License 2.0
210 stars 53 forks source link

Test failing on Windows template/testdata/sample.tmpl #76

Closed diegogr-cit closed 5 years ago

diegogr-cit commented 5 years ago

Template File: template/testdata/sample.tmpl

--- FAIL: TestParseTemplateEmail (0.05s)
    --- FAIL: TestParseTemplateEmail/test_parse_email_success (0.02s)
        email_test.go:71: test parse email success failed exp:Hello! Admin,
            Security Response Automation got:Hello! Admin,
            Security Response Automation

\n should works with windows EOL.

daniel-cit commented 5 years ago

Fixes