We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
diff
1 parent 02f7b9a commit 5ef81d8Copy full SHA for 5ef81d8
crate/tests/diff.rs
@@ -1,3 +1,10 @@
1
+// smoelius: The purpose of this test is to check the differences between each lint's ui tests and
2
+// their corresponding subdirectory of:
3
+// https://github.com/coral-xyz/sealevel-attacks/tree/master/programs
4
+// Ideally, those changes should be small.
5
+// The changes to a lint's ui tests are stored in a file in the `diffs` subdirectory. If any
6
+// lint's actual changes differ from the changes reflected in the lint's diff file, the test fails.
7
+
8
use assert_cmd::prelude::*;
9
use predicates::prelude::*;
10
use std::{fs::read_to_string, path::Path};
0 commit comments