You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
470 B

  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. })();