Skip to content

Commit e86e770

Browse files
committed
lint fixes
Change-Id: I96e25eef2b37b12443a483f0ef218783d05e3572
1 parent 0eee2fc commit e86e770

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/app/shared/modules/scientific-metadata-tree/base-classes/metadata-input-base.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ describe("MetadataInputBase", () => {
9090
component.metadataForm.get("type").setValue(Type.boolean);
9191
component.detectType();
9292
const result = component.getErrorMessage("value");
93-
expect(result).toEqual('Boolean must be "true" or "false"');
93+
expect(result).toEqual("Boolean must be \"true\" or \"false\"");
9494
});
9595
it("#getErrorMessage() && #numberValidator() should not return any error", () => {
9696
component.metadataForm.get("type").setValue(Type.number);

src/app/shared/modules/scientific-metadata-tree/base-classes/tree-base.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,15 +378,15 @@ describe("TreeBaseComponent", () => {
378378
);
379379
expect(result).toEqual("[ ]");
380380
});
381-
it('Should get string "" ', () => {
381+
it("Should get string \"\" ", () => {
382382
component.metadata = {
383383
barCode: "",
384384
};
385385
component.ngOnInit();
386386
const result = component.getValueRepresentation(
387387
component.treeControl.dataNodes[0]
388388
);
389-
expect(result).toEqual('""');
389+
expect(result).toEqual("\"\"");
390390
});
391391
it("Should get value and symbol Å ", () => {
392392
component.metadata = {

0 commit comments

Comments
 (0)