Skip to content

Commit

Permalink
Even more direct
Browse files Browse the repository at this point in the history
  • Loading branch information
Xanewok committed Apr 25, 2024
1 parent eeac4b9 commit 634bac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/solidity/testing/sanctuary/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ pub fn run_test(file: &SourceFile, events: &Events) -> Result<()> {
// Heuristic: ignore wrongly scraped sanctuary files that
// contain HTML with a Cloudflare email obfuscation attribute:
// https://github.com/tintinweb/smart-contract-sanctuary/issues/32
// Also ignore wrongly obfuscated `r@` in "\r@..." that leads to an invalid escape sequence:
// Also ignore wrongly obfuscated `r@` in "\r@..." that leads to an invalid escape sequence (`\[`):
if source.contains("data-cfemail=") || source.contains("\\[email protected]") {
events.test(TestOutcome::Incompatible);
return Ok(());
Expand Down

0 comments on commit 634bac3

Please sign in to comment.