-
Notifications
You must be signed in to change notification settings - Fork 8
Add some doc examples #6
base: master
Are you sure you want to change the base?
Conversation
Current coverage is 100% (diff: 100%)
|
//. ```js | ||
//. > finchstar(a => separator => b => a + separator + b)('birds')('-')('fantasy') | ||
//. 'fantasy-birds' | ||
//. ``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these verified by doctest or something similar?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, they are tested by doctest. https://github.com/fantasyland/fantasy-birds/blob/master/package.json#L8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, I ran them through npm run test:doc
as I filled them in,
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, splendid!
Apologies, I didn't mean to keep committing to this branch after I opened the PR. I'll stop now |
Per #1, here are some simple examples for:
finchstar
finchstarstar
goldfinch
hummingbird
idstar
idstarstar
jalt
jalt_
kite
owl
phoenix
quacky
queer
quirky
quixotic
quizzical
robin
robinstar
robinstarstar
I thought I'd be able to go through the rest as I try to understand them, but I'm much shorter on time than I had thought, so I'll add more as I'm able.