Skip to content

Commit

Permalink
fix: Make a patch release for AssemblyScript#1894 (AssemblyScript#1908)
Browse files Browse the repository at this point in the history
  • Loading branch information
torch2424 authored Jun 16, 2021
1 parent 3564848 commit ad009d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/compiler/rereexport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ import { exportstar } from "./reexport";
export { exportstar };

import * as ReexportsNamespace from "./reexport";
// Test our import * as namespace works with different types
// Test our import * as namespace works with different types.
assert(ReexportsNamespace.add(2, 2) == 4);
assert(ReexportsNamespace.rerenamed_mul(2, 2) == 4);
let car: ReexportsNamespace.Car = new ReexportsNamespace.Car();
assert(car.numDoors == 2);

// Test our imported namespace with the exported import * as namespace
// Test our imported namespace with the exported import * as namespace.
assert(ReexportsNamespace.ExportsNamespace.add(2, 2) == 4);
assert(ReexportsNamespace.ExportsNamespace.renamed_mul(2, 2) == 4);
let exportsNamespaceCar: ReexportsNamespace.Car = new ReexportsNamespace.ExportsNamespace.Car();
Expand Down

0 comments on commit ad009d3

Please sign in to comment.