From f36cf4ab28c9577bdd1301590537c99224650e4e Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Thu, 2 May 2019 19:29:34 +0700 Subject: [PATCH] Meta tweaks --- package.json | 3 +-- readme.md | 2 +- test.js | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index eb3e836..143fa24 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "yes-no-words", "version": "1.4.0", - "description": "Get yes/no like words", + "description": "Get yes/no-like words", "license": "MIT", "repository": "sindresorhus/yes-no-words", "author": { @@ -28,7 +28,6 @@ "keywords": [ "cli-app", "cli", - "bin", "word", "words", "list", diff --git a/readme.md b/readme.md index 814032f..0425c5a 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,6 @@ # yes-no-words [![Build Status](https://travis-ci.org/sindresorhus/yes-no-words.svg?branch=master)](https://travis-ci.org/sindresorhus/yes-no-words) -> Get yes/no like words +> Get yes/no-like words ![](https://cloud.githubusercontent.com/assets/170270/7630384/c62755ba-fa35-11e4-95a3-a9c51d376f4b.png) diff --git a/test.js b/test.js index ca796e9..75f0b0e 100644 --- a/test.js +++ b/test.js @@ -9,6 +9,6 @@ test('main', t => { t.truthy(yesNoWords.noRandom()); t.truthy(yesNoWords.allRandom()); t.not(yesNoWords.allRandom(), yesNoWords.allRandom()); - t.not(yesNoWords.all.indexOf('Yes'), -1); - t.not(yesNoWords.all.indexOf('No'), -1); + t.true(yesNoWords.all.includes('Yes')); + t.true(yesNoWords.all.includes('No')); });