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

Ex 33 (list sorting) -- possible typo #9

Open
daveyarwood opened this issue Apr 14, 2016 · 2 comments
Open

Ex 33 (list sorting) -- possible typo #9

daveyarwood opened this issue Apr 14, 2016 · 2 comments

Comments

@daveyarwood
Copy link

https://github.com/zedshaw/liblcthw/blob/master/tests/list_algos_tests.c#L54

Here we are calling List_create, a function that until now has taken no args, on words, which is the list of words that we just destroyed.

Should this line be words = create_words();?

@daveyarwood
Copy link
Author

Oh, on second thought, that test case needs to be an empty list.

Should it be words = List_create();?

@daveyarwood
Copy link
Author

I was able to get the test to pass after changing it to words = List_create() which seems to make more sense. I'll make a PR.

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

No branches or pull requests

1 participant