From 2ec0bd4ef930f744b4e09b1596f5a883f4d0a642 Mon Sep 17 00:00:00 2001 From: MathieuG-P <40181755+Zagrios@users.noreply.github.com> Date: Tue, 12 Dec 2023 21:07:05 +0100 Subject: [PATCH] update tests --- __test__/regedit-rs.spec.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/__test__/regedit-rs.spec.ts b/__test__/regedit-rs.spec.ts index e4975e1..b10cb97 100644 --- a/__test__/regedit-rs.spec.ts +++ b/__test__/regedit-rs.spec.ts @@ -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")); @@ -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"]);