rspec/rules/S1131/plsql/rule.adoc
2023-10-11 09:16:21 +02:00

33 lines
618 B
Plaintext

== Why is this an issue?
include::../description.adoc[]
[source,sql]
----
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::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
'''
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::env-github,rspecator-view[]