rolling back ;'s after a function declaration, cleaning up some whitespace. no functional changes. all tests still pass ff && ie6. note that it has never been either a policy or a priority for us to maintain coding standards in the test files. I'm only doing this as an exercise for my brain, waiting for the second cup of coffee to kick in.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@4156 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2007-08-31 15:08:38 +00:00
parent a8d7097e67
commit 8ae2a01b66
8 changed files with 186 additions and 101 deletions
+4 -4
View File
@@ -3,8 +3,6 @@
<script src="../../lib/OpenLayers.js"></script>
<script type="text/javascript">
function test_Format_JSON_constructor(t) {
t.plan(4);
@@ -15,7 +13,8 @@
t.eq(format.foo, "bar", "constructor sets options correctly");
t.eq(typeof format.read, "function", "format has a read function");
t.eq(typeof format.write, "function", "format has a write function");
}
}
function test_Format_JSON_parser(t) {
t.plan(2);
@@ -24,7 +23,8 @@
var obj = {"a":["b"], "c":1};
t.eq(obj['a'], data['a'], "element with array parsed correctly.");
t.eq(obj['c'], data['c'], "element with number parsed correctly.");
}
}
function test_Format_JSON_writer(t) {
t.plan(1);