mirror of
https://github.com/beautifier/js-beautify.git
synced 2024-11-27 06:30:32 +00:00
improved tests
This commit is contained in:
parent
30545ccc61
commit
72e93fc6aa
@ -4550,11 +4550,12 @@ exports.test_data = {
|
||||
{
|
||||
comment: 'Issue #1950: Do not remove whitespace after number - test scenario: number before a dot',
|
||||
input: '1000000000000001000 .toFixed(0)!==1000000000000001024',
|
||||
output: '1000000000000000100 .toFixed(0) !== 1000000000000001024'
|
||||
output: '1000000000000001000 .toFixed(0) !== 1000000000000001024'
|
||||
},
|
||||
{
|
||||
comment: 'Issue #1950: Do not remove whitespace after number - test scenario: variable ends with a number before a dot',
|
||||
unchanged: 'a.b21.performAction()'
|
||||
input: 'a.b21 . performAction()',
|
||||
output: 'a.b21.performAction()'
|
||||
}
|
||||
]
|
||||
}, {
|
||||
|
Loading…
Reference in New Issue
Block a user