Comments (1)
Are we sure it is a good idea to have a single check that does 2/3 things?
- enforce it is a string
- enforce empty OR
- enforce only whitespace
I think these should be 3 separate things that can then be composed into 1 if needed. That is far better than making one that does all 3 and not providing a way to pick and choose which ones matter.
from test2-suite.
Related Issues (20)
- Document how to use `in_set` builder HOT 4
- T() and F() do not handle references properly
- Refcount assertions HOT 2
- async_subtest output incompatible with TAP14 spec HOT 3
- context level is incorrect when mocks are used HOT 3
- Improve documentation for Test2::Tools::Subtest and Test2::AsyncSubtest HOT 1
- Dumper-on-fail for `is`, `isnt`, etc HOT 4
- May want to reconsider exporting `warnings` by default
- Add some number inequality check functions HOT 1
- is_refcount() doesn't support check objects HOT 3
- WITHIN() has exclusionary edges: is(1,within(0,1)) fails
- $CLASS mock within DESCRIBE() affects other tests HOT 4
- Issue with moving Module::Pluggable to optional HOT 3
- Can't locate object method "plugins" via package "Test2::Tools::Tester" HOT 1
- Question: What's a root cause of bundling Importer, Scope::Guard, and Sub::Info? HOT 8
- Test2::Plugin::SRand breaks rand under fork. HOT 1
- Module::Pluggable is a deprecation error on 5.18.4 HOT 2
- Test2::Tools::Compare::{D,DF,F,T etc.) exported by default (contrary to docs) HOT 2
- How to run another test as a sub-process? HOT 6
- Test2::Tools::Compare doc error/typo HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from test2-suite.