Question about the tests
See original GitHub issueHi Iarna! Author of sgarciac/bombadil here. I’m wondering how you ran the tests against bombadil, since I see many tests in your comparison stating that bombadil fails, but that it actually passes, mostly of them for invalid toml files. I’m guessing you are expecting bombadil to throw an error in those cases? i.e., the test for float leading zero:
var bombadil = require('@sgarciac/bombadil')
var input = 'leading-zero = 03.14'
var reader = new bombadil.TomlReader
reader.readToml(input)
reader.result // -> undefined
reader.errors.length // -> 1
The comparison page states bombadil fails to signal an error, but it actually works as expected, putting an error in the reader.errors array and keeping reader.result undefined.
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (12 by maintainers)
Top Results From Across the Web
Exam Questions: Types, Characteristics, and Suggestions
This tips sheet contains a brief description of seven types of examination questions, as well as tips for using each of them: 1)...
Read more >A Short Guide to Writing Effective Test Questions
Question ? A Short Guide to Writing Effective. Test Questions. Designed & Developed by: Ben Clay. Kansas Curriculum Center. Formatting & Text Processing...
Read more >Tests & Quizzes: Question Types - Pepperdine Community
Here are the various types of questions you can employ in your assessments. Multiple Choice; Survey; Short Answer/Essay; Fill in the Blank; Numeric...
Read more >50 Question Test - Genius Tests
Is your IQ score high enough to be considered a genius? Take this free intelligence test and see your score instantly!
Read more >Test-Taking Strategies – Common Questions
Are multiple-choice tests easier that essay tests? POSSIBLE STRATEGIES: This question depends on several factors such as: • Your skills — sometimes we...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m gonna move the test runner over to https://github.com/iarna/toml-spec-tests so maybe we can do further dev there.
Those make more sense than mine, I’ll use them instead