Skip to content

Commit b041e88

Browse files
committed
__array__ => bitmap
1 parent 5357750 commit b041e88

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tests/decode.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {Image} from '../ImageScript.js';
22
import * as ImageTest from './image.js';
3-
import { equal } from "https://deno.land/std/bytes/mod.ts";
3+
import {equal} from "https://deno.land/std/bytes/mod.ts";
44

55
const panic = message => {
66
console.error(message);
@@ -13,7 +13,7 @@ const panic = message => {
1313
const image = await Image.decode(binary);
1414

1515
const target = await ImageTest.default;
16-
if (!equal(target.__array__, image.__array__)) panic('arrays are unequal');
16+
if (!equal(target.bitmap, image.bitmap)) panic('arrays are unequal');
1717
}
1818

1919
{

0 commit comments

Comments
 (0)