Skip to content

Commit

Permalink
Bug 1561435 - Format ipc/, a=automatic-formatting
Browse files Browse the repository at this point in the history
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D35909

--HG--
extra : source : 2fa9743b80561bb68a7b4bf76b1b636d97d82942
  • Loading branch information
Victor Porof committed Jul 5, 2019
1 parent d7fc678 commit 251f880
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ module.exports = {
"overrides": [{
"files": [
"devtools/**",
"ipc/**",
"js/**",
"layout/**",
"media/**",
Expand Down
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ toolkit/components/telemetry/datareporting-prefs.js
toolkit/components/telemetry/healthreport-prefs.js

# Ignore all top-level directories for now.
ipc/**
js/**
layout/**
media/**
Expand Down
21 changes: 11 additions & 10 deletions ipc/testshell/tests/test_ipcshell.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,16 @@ function run_test() {

sendCommand("runtime.processType;", callback);

[ [ "C", "D" ], [ "D", "C" ], [ "\u010C", "D" ], [ "D", "\u010C" ] ].forEach(
function(pair) {
do_test_pending();
var cmp = pair[0].localeCompare(pair[1]);
sendCommand(
"'" + pair[0] + "'.localeCompare('" + pair[1] + "');",
function(result) {
Assert.equal(cmp, result);
do_test_finished();
});
[["C", "D"], ["D", "C"], ["\u010C", "D"], ["D", "\u010C"]].forEach(function(
pair
) {
do_test_pending();
var cmp = pair[0].localeCompare(pair[1]);
sendCommand("'" + pair[0] + "'.localeCompare('" + pair[1] + "');", function(
result
) {
Assert.equal(cmp, result);
do_test_finished();
});
});
}

0 comments on commit 251f880

Please sign in to comment.