Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Zagrios committed Dec 12, 2023
1 parent ca64128 commit 2ec0bd4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions __test__/regedit-rs.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ test('test RegistryValue classes', async (t) => {

const expandSz = new RegExpandSzValue("%SystemRoot%\\system32");
t.is(expandSz.value, "%SystemRoot%\\system32");
t.is(expandSz.expandedValue, "C:\\Windows\\system32");

const binary = new RegBinaryValue(Buffer.from("hello"));
t.deepEqual(binary.value, Buffer.from("hello"));
Expand Down Expand Up @@ -229,7 +228,6 @@ test('putValue can create values', async t => {

t.is(res[vKey].values['RegExpandSzValue'].type, RegistryType.RegExpandSz);
t.is(res[vKey].values['RegExpandSzValue'].value, "%SystemRoot%\\system32");
t.is((res[vKey].values['RegExpandSzValue'] as RegExpandSzValue).expandedValue, "C:\\Windows\\system32");

t.is(res[vKey].values['RegMultiSzValue'].type, RegistryType.RegMultiSz);
t.deepEqual(res[vKey].values['RegMultiSzValue'].value, ["a", "b", "c"]);
Expand Down

0 comments on commit 2ec0bd4

Please sign in to comment.