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

Support Glob syntax #18

Open
ryanbmilbourne opened this issue Sep 14, 2015 · 0 comments
Open

Support Glob syntax #18

ryanbmilbourne opened this issue Sep 14, 2015 · 0 comments

Comments

@ryanbmilbourne
Copy link
Contributor

Right now we support String and RegExp expectation types. We should add support for Glob patterns, a la TCL Expect.

https://en.wikipedia.org/wiki/Glob_(programming)

ryanbmilbourne added a commit to ryanbmilbourne/spectcl that referenced this issue Sep 25, 2015
`match` is analogous to the expect_out pattern matches in TCL Expect.
Instead of expect_out.[0|1|n], we'll have a single `match` property that
will contain the string we matched on if the expectation was a String,
or the result object of the successful test if the expectation was a
RegExp. Glob support is planned as well.

Also add ViaSat, Inc. to the license copyright.

In addition, some `eslint` errors were added by me; `pre-git` was
uninstalled in my local mirror and I didn't notice, so my commits
were not being linted.
This commit fixes all `eslint` errors introduced.

Resolves spectcl#11
See also spectcl#18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants