Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Unit Tests to Total Words in Tries closes #136 #139

Merged
merged 4 commits into from
Oct 25, 2019

Conversation

niyonx
Copy link
Contributor

@niyonx niyonx commented Oct 25, 2019

No description provided.

@@ -0,0 +1,35 @@
const totalWordsInTrie = require('./index')
const Trie = require('../index');
var assert = require('assert');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why var?

Copy link
Contributor Author

@niyonx niyonx Oct 25, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just like that, I did not really think about it. I will change it to const.

@ashokdey
Copy link
Member

@niyonx merging it. Do add a ⭐️ if you liked it and share it on twitter so as to get more awesome contributors like you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants