diff options
| author | josh97josh | 2018-04-20 11:53:37 +0100 |
|---|---|---|
| committer | josh97josh | 2018-04-20 11:53:37 +0100 |
| commit | af7934c3852bbde45210dd0c475817b8f20ddefc (patch) | |
| tree | 39ae972ea75cfc0033161b54eb26192bec14d353 /src/matcher | |
| parent | small fixes (diff) | |
| parent | reduced # of failing tests (diff) | |
| download | medicine-af7934c3852bbde45210dd0c475817b8f20ddefc.tar.gz medicine-af7934c3852bbde45210dd0c475817b8f20ddefc.zip | |
Merge branch ‘trh/gets’ of ssh://localhost:2222/cs3099group-be-4/project-code into trh/gets
Diffstat (limited to 'src/matcher')
| -rw-r--r-- | src/matcher/index.ts | 1 | ||||
| -rw-r--r-- | src/matcher/options.ts | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/matcher/index.ts b/src/matcher/index.ts index 99cc18c..0806907 100644 --- a/src/matcher/index.ts +++ b/src/matcher/index.ts @@ -10,6 +10,7 @@ export { export { Atom, + isPresent as anything, isNumber as number, isString as string, isBoolean as boolean, diff --git a/src/matcher/options.ts b/src/matcher/options.ts index 0513eb3..62e4985 100644 --- a/src/matcher/options.ts +++ b/src/matcher/options.ts @@ -85,7 +85,7 @@ export const array = (template: TemplateValue, values?: Value[]) => { const m: Checker = types.function(template) ? template : match.bind(null, template); - return values.every(m); // + return values.every(m); }; // tslint:disable-next-line:typedef |
