Skip to content

Commit

Permalink
Enable lexical-binding in all test files
Browse files Browse the repository at this point in the history
This is required by buttercup, and a hard error with buttercup >= 1.34
and Emacs >= 29.1.
  • Loading branch information
snogge committed Mar 5, 2024
1 parent d96da58 commit 4b895cc
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion tests/unit/test-webpaste-default-post-field-lambda.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; test-webpaste-default-post-field-lambda.el --- Tests for webpaste
;;; test-webpaste-default-post-field-lambda.el --- Tests for webpaste -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test-webpaste-error-lambdas.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; test-webpaste-error-lambdas.el --- Tests for error lambdas
;;; test-webpaste-error-lambdas.el --- Tests for error lambdas -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test-webpaste-get-language.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; test-webpaste-get-language.el --- Tests for webpaste
;;; test-webpaste-get-language.el --- Tests for webpaste -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test-webpaste-get-provider-priority.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; test-webpaste-get-provider-priority.el --- Tests for webpaste
;;; test-webpaste-get-provider-priority.el --- Tests for webpaste -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test-webpaste-paste-region-and-buffer.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; test-webpaste-paste-region-and-buffer.el --- Tests for webpaste
;;; test-webpaste-paste-region-and-buffer.el --- Tests for webpaste -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test-webpaste-paste-text.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; test-webpaste-paste-text.el --- Tests for webpaste
;;; test-webpaste-paste-text.el --- Tests for webpaste -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test-webpaste-provider-creation.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; test-webpaste-provider-creation.el --- Tests for webpaste
;;; test-webpaste-provider-creation.el --- Tests for webpaste -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test-webpaste-return-url.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; test-webpaste-return-url.el --- Tests for webpaste
;;; test-webpaste-return-url.el --- Tests for webpaste -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test-webpaste-success-lambdas.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; test-webpaste-success-lambdas.el --- Tests for success lambdas
;;; test-webpaste-success-lambdas.el --- Tests for success lambdas -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test-webpaste.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; test-webpaste.el --- Tests for webpaste
;;; test-webpaste.el --- Tests for webpaste -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:

Expand Down

0 comments on commit 4b895cc

Please sign in to comment.