rspec/rules/S1131/plsql/rule.adoc

23 lines
488 B
Plaintext
Raw Normal View History

2020-06-30 12:47:33 +02:00
include::../description.adoc[]
== Noncompliant Code Example
----
DECLARE
-- The following line has many trailing whitespaces
foo VARCHAR2(42) := 'a
b';
BEGIN
-- Will misleadingly show 3, counting only the characters 'a', 'b', and the line terminator, but none of the trailing whitespaces
DBMS_OUTPUT.PUT_LINE(LENGTH(foo));
END;
/
----
ifdef::rspecator-view[]
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::rspecator-view[]