extra newline removed
This commit is contained in:
parent
5a449bf1da
commit
3db326a40f
|
@ -12,5 +12,4 @@ Only the algorithms [required in the specification](https://www.w3.org/TR/SRI/#c
|
||||||
let value = "sha384-H8BRh8j48O9oYatfu5AZzq6A9RINhZO5H16dQZngK7T62em8MUt1FLm52t+eX6xO";
|
let value = "sha384-H8BRh8j48O9oYatfu5AZzq6A9RINhZO5H16dQZngK7T62em8MUt1FLm52t+eX6xO";
|
||||||
let integrity = Integrity::try_from(integrity_value).unwrap();
|
let integrity = Integrity::try_from(integrity_value).unwrap();
|
||||||
integrity.verify("alert(\'Hello, world.\');"); // true
|
integrity.verify("alert(\'Hello, world.\');"); // true
|
||||||
|
|
||||||
```
|
```
|
Loading…
Reference in a new issue