test.js 342 B

1234567891011
  1. (function() {
  2. var mode = CodeMirror.getMode({indentUnit: 2}, "ruby");
  3. function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }
  4. MT("divide_equal_operator",
  5. "[variable bar] [operator /=] [variable foo]");
  6. MT("divide_equal_operator_no_spacing",
  7. "[variable foo][operator /=][number 42]");
  8. })();