Skip to content

Commit 5fd785c

Browse files
committed
Fix test runner
gnuplot and gnuplot-context should be loaded when the tests are ran. There is probably a more elegant solution to require them when running tests, but at least this works for now.
1 parent 2c1e7cb commit 5fd785c

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

dot.el

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@
33
(setq load-path (append (list ".") load-path)
44
byte-compile-verbose nil
55
byte-compile-warnings nil)
6+
7+
(load "gnuplot")
8+
(load "gnuplot-context")

gnuplot-context.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -250,11 +250,11 @@
250250

251251
;;;; The tokenizer.
252252

253-
(defstruct gnuplot-token
254-
start ; Buffer start position
253+
(cl-defstruct gnuplot-token
254+
start ; Buffer start position
255255
end ; Buffer end position
256256
id ; Text
257-
type) ; a symbol: name, number, string, operator, separator
257+
type) ; a symbol: name, number, string, operator, separator
258258

259259
(defvar gnuplot-operator-regexp
260260
(eval-when-compile

0 commit comments

Comments
 (0)