blob: 63d731c8a8c5a424d60b8a52d12dc580457bb789 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
"use strict";
let someVar = 0;
add_setup(() => (someVar = 1));
add_setup(() => (someVar = 2));
add_task(async function test_setup_ordering() {
Assert.equal(someVar, 2, "Setups should have run in order.");
});
|