Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: ports/devenv/tests/io2014_test.js

Issue 1415743013: Run jshint over all JavaScript files (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@repo_conf
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ports/devenv/tests/devenv_small_test.js ('k') | ports/devenv/tests/jseval_test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/devenv/tests/io2014_test.js
diff --git a/ports/devenv/tests/io2014_test.js b/ports/devenv/tests/io2014_test.js
index 4ae9bc4076fa7914162581ba67dd270fccfaaeec..519d498cb4e05dfc623ebca5269012dfb0e3331c 100644
--- a/ports/devenv/tests/io2014_test.js
+++ b/ports/devenv/tests/io2014_test.js
@@ -4,6 +4,8 @@
* found in the LICENSE file.
*/
+/* globals TEST_F, ASSERT_EQ, ASSERT_TRUE, chrometest, DevEnvTest */
+
'use strict';
// Tests of the Google I/O 2014 tutorial at:
@@ -77,12 +79,14 @@ TEST_F(DevEnvTest, 'testDemo', function() {
'cd work/voronoi && git commit -am "fixed build error"');
}).then(function() {
var sysArch = self.params['SYS_ARCH'];
+ var libDir;
+ var suffix;
if (sysArch === 'i686') {
- var libDir = 'lib32';
- var suffix = 'x86_32';
+ libDir = 'lib32';
+ suffix = 'x86_32';
} else if (sysArch === 'x86_64') {
- var libDir = 'lib64';
- var suffix = 'x86_64';
+ libDir = 'lib64';
+ suffix = 'x86_64';
} else {
ASSERT_TRUE(false, 'unknown arch: ' + sysArch);
}
« no previous file with comments | « ports/devenv/tests/devenv_small_test.js ('k') | ports/devenv/tests/jseval_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698