aboutsummaryrefslogtreecommitdiff
path: root/test/compress/issue-2989.js
blob: c9066921f25a928a81d7a2a07c81e69a5111b9e7 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
inline_script_off: {
    beautify = {
        inline_script: false,
    }
    input: {
        console.log("</sCrIpT>");
    }
    expect_exact: 'console.log("</sCrIpT>");'
    expect_stdout: "</sCrIpT>"
}

inline_script_on: {
    beautify = {
        inline_script: true,
    }
    input: {
        console.log("</sCrIpT>");
    }
    expect_exact: 'console.log("<\\/sCrIpT>");'
    expect_stdout: "</sCrIpT>"
}