From be56df541d1b63d269c3eadb1260f31f3bd71ace Mon Sep 17 00:00:00 2001 From: Xiyue Deng Date: Thu, 23 May 2024 17:15:30 -0700 Subject: [PATCH] Require dart-mode in ERT tests. * This makes it easier to run ERT tests in environment without eask, such as when preparing package for Debian. --- test/test-font-lock.el | 1 + test/test-indentation.el | 1 + 2 files changed, 2 insertions(+) diff --git a/test/test-font-lock.el b/test/test-font-lock.el index 2c4de62..78889c5 100644 --- a/test/test-font-lock.el +++ b/test/test-font-lock.el @@ -1,3 +1,4 @@ +(require 'dart-mode) (require 'faceup) (defvar dart-font-lock-test-dir (faceup-this-file-directory)) diff --git a/test/test-indentation.el b/test/test-indentation.el index 821aaaf..f3c5778 100644 --- a/test/test-indentation.el +++ b/test/test-indentation.el @@ -1,3 +1,4 @@ +(require 'dart-mode) (defun dart-ert-test-indentation-of-file (file) (with-temp-buffer