14157663b0
The issue manifests when sclang is compiled. Steps to reproduce in real emacs config: 1. Install the package and compile it 2. Open a file with a `.sc` or `.scd` extension 3. Witness the error `(void-function sclang-make-buffer-name)` Steps to reproduce with the test: 0. install [eldev](https://github.com/doublep/eldev#installation) 1. `eldev compile` 2. `eldev test`
7 lines
273 B
EmacsLisp
7 lines
273 B
EmacsLisp
;; -*- no-byte-compile: t; lexical-binding: t; -*-
|
|
;;; test/sclang-mode-test.el
|
|
|
|
(ert-deftest sclang-major-mode-init-test ()
|
|
"Loading a file with an scd extension should init sclang-mode"
|
|
(find-file "fixtures/super-boring.scd")
|
|
(should (eq 'sclang-mode major-mode)))
|