We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
context[$"processing file - \"{file.Name}\""] = () =>{}
I would like to persist the underscores in the filename so would like to escape out the underscore as follows:
context[$"processing file - \"{file.Name.Replace("_","\\")}\""] = () => {}
Any options?
The text was updated successfully, but these errors were encountered:
Hi there. Do you mean something like this?
public class describe_underscore_in_context : nspec { void Given_nested_context_name_has_underscores() { context["This_nested_context will lose underscores"] = () => { it["Should pass"] = () => true.ShouldBeTrue(); }; context["This\\_nested\\_context will keep underscores"] = () => { it["Should pass"] = () => true.ShouldBeTrue(); }; } }
Sorry, something went wrong.
There is a Conventions concept have baked in NSpec
Conventions
No branches or pull requests
I would like to persist the underscores in the filename so would like to escape out the underscore as follows:
Any options?
The text was updated successfully, but these errors were encountered: