prettier/tests/binary-expressions
Ika 4af3dd4b07
test: improve snapshots (#5521)
- before
  ```
  ${input}${"~".repeat(printWidth)}
  ${output}
  ```
- after
  ```
  ===options===
  ${options}
  ${" ".repeat(printWidth)}| printWidth
  ====input====
  ${input}
  ===output====
  ${output}
  =============
  ```
2018-11-25 16:21:14 +08:00
..
__snapshots__ test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
arrow.js Fix chained logical expressions with objects/array/etc inlined 2017-09-07 21:57:07 -06:00
bitwise-flags.js Add supervisory parens for bitwise operations (#2429) 2017-07-08 17:31:28 +10:00
comment.js [RFC] Fix comment location for binary expressions (#1043) 2017-03-21 12:13:13 -07:00
equality.js Add more supervisory parens, closes #187 (#2423) 2017-07-07 15:57:17 +02:00
exp.js Correct parentheses for mixed exp/mod (#5243) 2018-10-12 12:33:47 -04:00
if.js Only break for conditionals (#1350) 2017-04-19 13:18:01 -07:00
inline-jsx.js Fix different precedence binary expression when inlining (#2827) 2017-09-20 17:07:51 +02:00
inline-object-array.js Fix different precedence binary expression when inlining (#2827) 2017-09-20 17:07:51 +02:00
jsfmt.spec.js Change run_spec to have explicit parser list (#3356) 2017-11-30 03:31:52 -03:00
jsx_parent.js Fix different precedence binary expression when inlining (#2827) 2017-09-20 17:07:51 +02:00
math.js Add supervisory parens for bitwise operations (#2429) 2017-07-08 17:31:28 +10:00
return.js Fix break on conditional expressions inside return 2017-09-10 04:13:47 -06:00
short-right.js Inline short expressions for boolean operators too (#826) 2017-03-02 22:45:26 -05:00
test.js Fix boolean for empty objects (#1590) 2017-05-12 07:48:03 -07:00
unary.js Indent conditions inside of !() (#1731) 2017-05-25 16:26:34 -07:00