Fix reftest precision

This commit is contained in:
Niklas von Hertzen 2017-08-10 23:26:01 +08:00
parent 5bd06895e9
commit 97b0a1f21d

View File

@ -119,7 +119,7 @@ class RefTestRenderer implements RenderTarget<string> {
]; ];
const stops = gradient.colorStops.map( const stops = gradient.colorStops.map(
stop => `${stop.color.toString()} ${Math.round(stop.stop * 100) / 100}` stop => `${stop.color.toString()} ${Math.ceil(stop.stop * 100) / 100}`
); );
this.writeLine( this.writeLine(