Skip to content

Commit

Permalink
Correct import for dom_test.html
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Oct 10, 2016
1 parent 434dcb4 commit c3efd84
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions javascript/atoms/test/dom_test.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<script src="test_bootstrap.js"></script>
<script type="text/javascript">
goog.require('bot.dom');
goog.require('bot.dom.core');
goog.require('bot.userAgent');
goog.require('goog.testing.jsunit');
goog.require('goog.userAgent');
Expand All @@ -24,13 +25,13 @@
];
for (var i = 0; i < toTest.length; i++) {
assertObjectEquals(toTest[i].expected,
bot.dom.standardizeStyleAttribute_(toTest[i].input));
bot.dom.core.standardizeStyleAttribute_(toTest[i].input));
}
}

function testStandardizeStyleAttributeAppendsAMissingSemicolonToTheEndOfTheString() {
assertEquals("background-color:green; width:100px; height:50px;",
bot.dom.standardizeStyleAttribute_(
bot.dom.core.standardizeStyleAttribute_(
"background-color:green; width:100px; height:50px")
);
}
Expand Down Expand Up @@ -65,7 +66,7 @@
];
for (var i = 0; i < toTest.length; i++) {
assertObjectEquals(toTest[i].expected,
bot.dom.standardizeStyleAttribute_(toTest[i].input));
bot.dom.core.standardizeStyleAttribute_(toTest[i].input));
}
}
</script>
Expand Down

0 comments on commit c3efd84

Please sign in to comment.