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

Test 43 case for applyToDefaults not accurately testing #75

Closed
tsilvia opened this issue Aug 22, 2014 · 0 comments · Fixed by #76
Closed

Test 43 case for applyToDefaults not accurately testing #75

tsilvia opened this issue Aug 22, 2014 · 0 comments · Fixed by #76
Assignees
Labels
Milestone

Comments

@tsilvia
Copy link

@tsilvia tsilvia commented Aug 22, 2014

Test case:
https://github.com/hapijs/hoek/blob/master/test/index.js#L514-L519

        it('returns a copy of defaults if options is true', function (done) {

            var result = Hoek.applyToDefaults(defaults, true);
            expect(result).to.deep.equal(result);  //Should be result and defaults
            done();
        });
tsilvia pushed a commit to tsilvia/hoek that referenced this issue Aug 22, 2014
@hueniverse hueniverse added bug labels Aug 23, 2014
@hueniverse hueniverse self-assigned this Aug 23, 2014
@hueniverse hueniverse added this to the 2.4.2 milestone Aug 23, 2014
hueniverse added a commit that referenced this issue Aug 23, 2014
Close #75, properly preform test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.