Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Rod Johnson committed Jul 17, 2019
1 parent 9ed0b88 commit 6512a0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/features/license.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ describe("license aspect", () => {
const p = InMemoryProject.of();
const fp = await License.extract(p) as FP;
assert(!!fp.data);
assert.deepStrictEqual(fp.data, { classification: "None", content: undefined });
assert.deepStrictEqual(fp.data, { classification: "None", content: undefined, path: undefined });
});

it("should find Apache license", async () => {
const p = InMemoryProject.of({ path: "LICENSE", content: asl });
const fp = await License.extract(p) as FP;
assert(!!fp.data);
assert.deepStrictEqual(fp.data, { classification: "Apache License", content: asl });
assert.deepStrictEqual(fp.data, { classification: "Apache License", content: asl, path: "LICENSE" });
});

});
Expand Down

0 comments on commit 6512a0d

Please sign in to comment.