Skip to content

Commit ea30f02

Browse files
committed
js: Inline expectation should have space before $
1 parent f41c30e commit ea30f02

File tree

1 file changed

+4
-4
lines changed
  • javascript/ql/test/query-tests/Expressions/ExprHasNoEffect

1 file changed

+4
-4
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
function f(){
2-
a.clientTop && a.clientTop, a.clientTop === !0; //$Alert
1+
function f() {
2+
a.clientTop && a.clientTop, a.clientTop === !0; // $ Alert
33
a && a.clientTop;
44
a.clientTop, a.clientTop;
5-
if(a) return a.clientTop && a.clientTop, a.clientTop === !0;
6-
if(b) return b && (b.clientTop, b.clientTop && b.clientTop), null;
5+
if (a) return a.clientTop && a.clientTop, a.clientTop === !0;
6+
if (b) return b && (b.clientTop, b.clientTop && b.clientTop), null;
77
}

0 commit comments

Comments
 (0)