Skip to content

Commit

Permalink
TableStructureSpec: use right var
Browse files Browse the repository at this point in the history
The other tests create a TableStructure
object and then calls loadFromJson on
that object, so do the same in the last
test.
  • Loading branch information
pjonsson committed Jun 20, 2024
1 parent e941f6a commit aa26df5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Map/TableStructureSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ describe("TableStructure", function () {
}
};
var tableStructureNoAddr = new TableStructure("foo", optionsNoAddr);
tableStructureNoAddr = tableStructure.loadFromJson(dataNoAddr);
tableStructureNoAddr = tableStructureNoAddr.loadFromJson(dataNoAddr);
expect(tableStructureNoAddr.hasAddress).toBe(false);
});

Expand Down

0 comments on commit aa26df5

Please sign in to comment.