sprintf.js icon indicating copy to clipboard operation
sprintf.js copied to clipboard

Missing unit tests for specifiers: a, A, E, F

Open ashwalk33r opened this issue 6 years ago • 0 comments

https://github.com/alexei/sprintf.js/blob/master/test/test.js

Does not contain tests for specifiers:

  • a
  • A
  • E
  • F

All other specifiers(as in http://www.cplusplus.com/reference/cstdio/printf/) are at least once occuring in tests. It does not mean those have good coverage. This issue simply reports that while some specifiershave some tests, the reported have none.

What about creating validation https://github.com/alexei/sprintf.js/blob/master/test/test_validation.js to determine if all specifiers are tested?

ashwalk33r avatar Apr 04 '20 10:04 ashwalk33r