Permalink
Browse files

WebView, bugfix: compile error on windows.

  • Loading branch information...
xicilion committed Nov 1, 2017
1 parent e3df9ee commit 7c56f7f95b9ba3a0eeeda62e8cdbd4a93d3b430a
Showing with 4 additions and 5 deletions.
  1. +0 −1 fibjs/src/gui/windows/WebView.h
  2. +4 −4 test/registry_test.js
@@ -6,7 +6,6 @@
*/
#include "ifs/WebView.h"
#include "ifs/Map.h"
#include <comdef.h>
#include <Exdisp.h>
#include <mshtmhst.h>
View
@@ -49,8 +49,8 @@ if (win) {
});
it("list", () => {
assert.deepEqual(registry.listSubKey(registry.CURRENT_USER, "Software\\fibjs_test").toArray(), ["test_key"]);
assert.deepEqual(registry.listValue(registry.CURRENT_USER, "Software\\fibjs_test\\test_key").toArray().sort(), [
assert.deepEqual(registry.listSubKey(registry.CURRENT_USER, "Software\\fibjs_test"), ["test_key"]);
assert.deepEqual(registry.listValue(registry.CURRENT_USER, "Software\\fibjs_test\\test_key").sort(), [
"a",
"b",
"ms",
@@ -60,14 +60,14 @@ if (win) {
it("del", () => {
registry.del(registry.CURRENT_USER, "Software\\fibjs_test\\test_key\\ms");
assert.deepEqual(registry.listValue(registry.CURRENT_USER, "Software\\fibjs_test\\test_key").toArray().sort(), [
assert.deepEqual(registry.listValue(registry.CURRENT_USER, "Software\\fibjs_test\\test_key").sort(), [
"a",
"b",
"s"
]);
registry.del(registry.CURRENT_USER, "Software\\fibjs_test\\test_key");
assert.deepEqual(registry.listSubKey(registry.CURRENT_USER, "Software\\fibjs_test").toArray(), []);
assert.deepEqual(registry.listSubKey(registry.CURRENT_USER, "Software\\fibjs_test"), []);
});
});
}

0 comments on commit 7c56f7f

Please sign in to comment.