emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/haskell-tng-mode 0ac5a2f 059/385: copyright years and move


From: ELPA Syncer
Subject: [nongnu] elpa/haskell-tng-mode 0ac5a2f 059/385: copyright years and move the test assertions
Date: Tue, 5 Oct 2021 23:59:01 -0400 (EDT)

branch: elpa/haskell-tng-mode
commit 0ac5a2f682b7253c67c05940989ac968a47e3d1a
Author: Tseen She <ts33n.sh3@gmail.com>
Commit: Tseen She <ts33n.sh3@gmail.com>

    copyright years and move the test assertions
---
 Cask                                 | 2 +-
 haskell-tng-font-lock.el             | 2 +-
 haskell-tng-mode.el                  | 2 +-
 haskell-tng-smie.el                  | 2 +-
 haskell-tng-syntax.el                | 4 ++--
 haskell-tng-util.el                  | 2 +-
 test/haskell-tng-font-lock-test.el   | 5 +++--
 test/haskell-tng-smie-test.el        | 8 ++++----
 test/{lexer => src}/layout.hs        | 0
 test/{lexer => src}/layout.hs.lexer  | 0
 test/{faces => src}/medley.hs        | 0
 test/{faces => src}/medley.hs.faceup | 0
 test/{faces => src}/medley.hs.lexer  | 0
 13 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/Cask b/Cask
index 4f3f54c..13a428a 100644
--- a/Cask
+++ b/Cask
@@ -1,6 +1,6 @@
 ;;-*- Mode: Lisp -*-
 
-;; Copyright (C) 2018 Tseen She
+;; Copyright (C) 2018-2019 Tseen She
 ;; License: GPL 3 or any later version
 
 ;;; Commentary:
diff --git a/haskell-tng-font-lock.el b/haskell-tng-font-lock.el
index 778e6a1..f20c544 100644
--- a/haskell-tng-font-lock.el
+++ b/haskell-tng-font-lock.el
@@ -1,6 +1,6 @@
 ;;; haskell-tng-font-lock.el --- Fontification for Haskell -*- 
lexical-binding: t -*-
 
-;; Copyright (C) 2018 Tseen She
+;; Copyright (C) 2018-2019 Tseen She
 ;; License: GPL 3 or any later version
 
 ;;; Commentary:
diff --git a/haskell-tng-mode.el b/haskell-tng-mode.el
index 3dab3ad..5df9d9e 100644
--- a/haskell-tng-mode.el
+++ b/haskell-tng-mode.el
@@ -1,6 +1,6 @@
 ;;; haskell-tng-mode.el --- Major mode for editing Haskell -*- 
lexical-binding: t -*-
 
-;; Copyright (C) 2018 Tseen She
+;; Copyright (C) 2018-2019 Tseen She
 ;; License: GPL 3 or any later version
 
 ;; Homepage: https://gitlab.com/tseenshe/haskell-tng-mode
diff --git a/haskell-tng-smie.el b/haskell-tng-smie.el
index a0c9722..61b30b2 100644
--- a/haskell-tng-smie.el
+++ b/haskell-tng-smie.el
@@ -1,6 +1,6 @@
 ;;; haskell-tng-smie.el --- SMIE Rules for Haskell -*- lexical-binding: t -*-
 
-;; Copyright (C) 2018 Tseen She
+;; Copyright (C) 2018-2019 Tseen She
 ;; License: GPL 3 or any later version
 
 ;;; Commentary:
diff --git a/haskell-tng-syntax.el b/haskell-tng-syntax.el
index bc8f685..d8c79ae 100644
--- a/haskell-tng-syntax.el
+++ b/haskell-tng-syntax.el
@@ -1,6 +1,6 @@
 ;;; haskell-tng-syntax.el --- Syntax Table for Haskell -*- lexical-binding: t 
-*-
 
-;; Copyright (C) 2018 Tseen She
+;; Copyright (C) 2018-2019 Tseen She
 ;; License: GPL 3 or any later version
 
 ;;; Commentary:
@@ -38,7 +38,7 @@
     (--each (string-to-list "!#$%&*+./<=>?@\\^|-~:")
       (modify-syntax-entry it "_" table))
 
-    ;; FIXME: should be iff _ is alone or first char
+    ;; TODO: should be iff _ is alone or first char
     ;; small (underscore is a lowercase letter)
     (modify-syntax-entry ?_ "w" table)
 
diff --git a/haskell-tng-util.el b/haskell-tng-util.el
index d7cca01..6c1e27e 100644
--- a/haskell-tng-util.el
+++ b/haskell-tng-util.el
@@ -1,6 +1,6 @@
 ;;; haskell-tng-util.el --- Helpful Utilities -*- lexical-binding: t -*-
 
-;; Copyright (C) 2018 Tseen She
+;; Copyright (C) 2018-2019 Tseen She
 ;; License: GPL 3 or any later version
 
 ;;; Commentary:
diff --git a/test/haskell-tng-font-lock-test.el 
b/test/haskell-tng-font-lock-test.el
index 15157ee..39d0e48 100644
--- a/test/haskell-tng-font-lock-test.el
+++ b/test/haskell-tng-font-lock-test.el
@@ -1,6 +1,6 @@
 ;;; haskell-tng-font-lock-test.el --- Tests for fontification -*- 
lexical-binding: t -*-
 
-;; Copyright (C) 2018 Tseen She
+;; Copyright (C) 2018-2019 Tseen She
 ;; License: GPL 3 or any later version
 
 (require 'haskell-tng-mode)
@@ -8,6 +8,7 @@
 (require 'ert)
 (require 'faceup)
 
+;; FIXME: write over the file on failure
 (defun have-expected-faces (file)
   (faceup-test-font-lock-file
    'haskell-tng-mode
@@ -18,6 +19,6 @@
 
 ;; to generate .faceup files, use faceup-view-buffer
 (ert-deftest haskell-tng-font-lock-file-tests ()
-  (should (have-expected-faces "faces/medley.hs")))
+  (should (have-expected-faces "src/medley.hs")))
 
 ;;; haskell-tng-font-lock-test.el ends here
diff --git a/test/haskell-tng-smie-test.el b/test/haskell-tng-smie-test.el
index 83e18ab..9fb86f8 100644
--- a/test/haskell-tng-smie-test.el
+++ b/test/haskell-tng-smie-test.el
@@ -1,6 +1,6 @@
-;;; haskell-tng-smie-test.el --- Tests for fontification -*- lexical-binding: 
t -*-
+;;; haskell-tng-smie-test.el --- Tests for navigation and indentation -*- 
lexical-binding: t -*-
 
-;; Copyright (C) 2018 Tseen She
+;; Copyright (C) 2018-2019 Tseen She
 ;; License: GPL 3 or any later version
 
 (require 'haskell-tng-mode)
@@ -88,8 +88,8 @@ When called interactively, shows the tokens in a buffer."
 ;; TODO the backwards test should simply assert consistency
 
 (ert-deftest haskell-tng-smie-file-tests ()
-  (should (have-expected-forward-lex "faces/medley.hs"))
-  (should (have-expected-forward-lex "lexer/layout.hs"))
+  (should (have-expected-forward-lex "src/medley.hs"))
+  (should (have-expected-forward-lex "src/layout.hs"))
   )
 
 ;; ideas for an indentation tester
diff --git a/test/lexer/layout.hs b/test/src/layout.hs
similarity index 100%
rename from test/lexer/layout.hs
rename to test/src/layout.hs
diff --git a/test/lexer/layout.hs.lexer b/test/src/layout.hs.lexer
similarity index 100%
rename from test/lexer/layout.hs.lexer
rename to test/src/layout.hs.lexer
diff --git a/test/faces/medley.hs b/test/src/medley.hs
similarity index 100%
rename from test/faces/medley.hs
rename to test/src/medley.hs
diff --git a/test/faces/medley.hs.faceup b/test/src/medley.hs.faceup
similarity index 100%
rename from test/faces/medley.hs.faceup
rename to test/src/medley.hs.faceup
diff --git a/test/faces/medley.hs.lexer b/test/src/medley.hs.lexer
similarity index 100%
rename from test/faces/medley.hs.lexer
rename to test/src/medley.hs.lexer



reply via email to

[Prev in Thread] Current Thread [Next in Thread]