Wed, 31 Dec 2014 07:53:36 +0100
Correct small whitespace inconsistency, lost while renaming variables.
1 let testVar;
3 registerCleanupFunction(function() {
4 ok(true, "I'm a cleanup function in test file");
5 is(this.testVar, "I'm a var in test file", "Test cleanup function scope is correct");
6 });
8 function test() {
9 is(headVar, "I'm a var in head file", "Head variables are set");
10 ok(headMethod(), "Head methods are imported");
11 testVar = "I'm a var in test file";
12 }