waterlink / spec2.cr

Enhanced `spec` testing library for [Crystal](http://crystal-lang.org/).
MIT License
103 stars 22 forks source link

Description names aren't seen as different if a `?` is put at the end #64

Open watzon opened 6 years ago

watzon commented 6 years ago

I am trying to describe two different methods that are almost the same, only one has a question mark at the end. In doing so I get this error:

already initialized constant Spec2___Root::Spec2__TweeterUser::Spec2___descriptionUrls::SPEC2_FULL_CONTEXT

It appears as though the constant being created is being recreated because the question mark is being ignored. I don't know if you can use question marks in constants or not, but if not we could at least replace it with the word QuestionMark so the above would become descriptionUrlsQuestionMark