1
0

test.js 470 B

1234567891011121314
  1. // CodeMirror, copyright (c) by Marijn Haverbeke and others
  2. // Distributed under an MIT license: http://codemirror.net/LICENSE
  3. (function() {
  4. var mode = CodeMirror.getMode({indentUnit: 2}, "ruby");
  5. function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }
  6. MT("divide_equal_operator",
  7. "[variable bar] [operator /=] [variable foo]");
  8. MT("divide_equal_operator_no_spacing",
  9. "[variable foo][operator /=][number 42]");
  10. })();