mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Use disassembly for snapshot testing
This commit is contained in:
7 files changed
+61
-299
No files matched your search
@@ -681,7 +681,7 @@ impl Instruction {
|
||||
) -> fmt::Result {
|
||||
macro_rules! w {
|
||||
($variant:ident) => {
|
||||
writeln!(f, "{:20}", stringify!($variant))
|
||||
writeln!(f, stringify!($variant))
|
||||
};
|
||||
($variant:ident, $var:expr) => {
|
||||
writeln!(f, "{:20} ({})", stringify!($variant), $var)
|
||||
|
||||
Reference in new issue
Block a user