test.js 414 B

1234567891011
  1. // CodeMirror, copyright (c) by Marijn Haverbeke and others
  2. // Distributed under an MIT license: https://codemirror.net/LICENSE
  3. (function() {
  4. var mode = CodeMirror.getMode({indentUnit: 2}, "d");
  5. function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }
  6. MT("nested_comments",
  7. "[comment /+]","[comment comment]","[comment +/]","[variable void] [variable main](){}");
  8. })();