Skip to content

Commit

Permalink
more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thorn0 committed Apr 6, 2020
1 parent 9cf17a2 commit 4fb317f
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
38 changes: 38 additions & 0 deletions tests/typescript_as/__snapshots__/jsfmt.spec.js.snap
Expand Up @@ -202,6 +202,44 @@ export default (function log() {} as typeof console.log);
================================================================================
`;
exports[`long-identifiers.ts 1`] = `
====================================options=====================================
parsers: ["typescript"]
printWidth: 80
| printWidth
=====================================input======================================
const bifornCringerMoshedPerplexSawder =
askTrovenaBeenaDependsRowans as glimseGlyphsHazardNoopsTieTie;
averredBathersBoxroomBuggyNurl.anodyneCondosMalateOverateRetinol =
annularCooeedSplicesWalksWayWay as kochabCooieGameOnOboleUnweave;
averredBathersBoxroomBuggyNurl = {
anodyneCondosMalateOverateRetinol:
annularCooeedSplicesWalksWayWay as kochabCooieGameOnOboleUnweave
};
averredBathersBoxroomBuggyNurl(
anodyneCondosMalateOverateRetinol.annularCooeedSplicesWalksWayWay as
kochabCooieGameOnOboleUnweave
);
=====================================output=====================================
const bifornCringerMoshedPerplexSawder = askTrovenaBeenaDependsRowans as glimseGlyphsHazardNoopsTieTie;
averredBathersBoxroomBuggyNurl.anodyneCondosMalateOverateRetinol = annularCooeedSplicesWalksWayWay as kochabCooieGameOnOboleUnweave;
averredBathersBoxroomBuggyNurl = {
anodyneCondosMalateOverateRetinol: annularCooeedSplicesWalksWayWay as kochabCooieGameOnOboleUnweave,
};
averredBathersBoxroomBuggyNurl(
anodyneCondosMalateOverateRetinol.annularCooeedSplicesWalksWayWay as kochabCooieGameOnOboleUnweave
);
================================================================================
`;
exports[`return.ts 1`] = `
====================================options=====================================
parsers: ["typescript"]
Expand Down
15 changes: 15 additions & 0 deletions tests/typescript_as/long-identifiers.ts
@@ -0,0 +1,15 @@
const bifornCringerMoshedPerplexSawder =
askTrovenaBeenaDependsRowans as glimseGlyphsHazardNoopsTieTie;

averredBathersBoxroomBuggyNurl.anodyneCondosMalateOverateRetinol =
annularCooeedSplicesWalksWayWay as kochabCooieGameOnOboleUnweave;

averredBathersBoxroomBuggyNurl = {
anodyneCondosMalateOverateRetinol:
annularCooeedSplicesWalksWayWay as kochabCooieGameOnOboleUnweave
};

averredBathersBoxroomBuggyNurl(
anodyneCondosMalateOverateRetinol.annularCooeedSplicesWalksWayWay as
kochabCooieGameOnOboleUnweave
);

0 comments on commit 4fb317f

Please sign in to comment.