49 lines
865 B
Plaintext
49 lines
865 B
Plaintext
# trailing spaces are reported where the trailing run starts
|
|
module m;
|
|
wire a;
|
|
//^ 10 no-trailing-whitespace
|
|
endmodule
|
|
====
|
|
# a clean line is quiet
|
|
module m;
|
|
wire a;
|
|
endmodule
|
|
====
|
|
# waived from the line above
|
|
module m;
|
|
// lucisv: waive no-trailing-whitespace
|
|
wire a;
|
|
endmodule
|
|
====
|
|
# a waiver that waives nothing is reported
|
|
module m;
|
|
wire a; // lucisv: waive no-trailing-whitespace
|
|
//^ 11 unused-waiver
|
|
endmodule
|
|
====
|
|
# fix: the trailing run is deleted
|
|
module m;
|
|
wire a;
|
|
//^ 10 no-trailing-whitespace
|
|
endmodule
|
|
----
|
|
module m;
|
|
wire a;
|
|
//^ 10 no-trailing-whitespace
|
|
endmodule
|
|
====
|
|
# fix: every trailing run in the file goes in one round
|
|
module m;
|
|
wire a;
|
|
//^ 10 no-trailing-whitespace
|
|
wire b;
|
|
//^ 10 no-trailing-whitespace
|
|
endmodule
|
|
----
|
|
module m;
|
|
wire a;
|
|
//^ 10 no-trailing-whitespace
|
|
wire b;
|
|
//^ 10 no-trailing-whitespace
|
|
endmodule
|