[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/kotlin-mode d8d6461395 145/162: Fix warnings in tests
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/kotlin-mode d8d6461395 145/162: Fix warnings in tests |
Date: |
Sat, 29 Jan 2022 08:25:31 -0500 (EST) |
branch: elpa/kotlin-mode
commit d8d6461395362bc68d4b9e148ab3629c5db5fcfd
Author: taku0 <mxxouy6x3m_github@tatapa.org>
Commit: taku0 <mxxouy6x3m_github@tatapa.org>
Fix warnings in tests
---
test/kotlin-mode-test.el | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/test/kotlin-mode-test.el b/test/kotlin-mode-test.el
index 5f901717ed..bb2af332e5 100644
--- a/test/kotlin-mode-test.el
+++ b/test/kotlin-mode-test.el
@@ -9,7 +9,7 @@ import foo.Bar
import bar.Bar as bBar
"))
(insert text)
- (beginning-of-buffer)
+ (goto-char (point-min))
(kotlin-mode)
(setq-local indent-tabs-mode nil)
(setq-local tab-width 4)
@@ -19,19 +19,19 @@ import bar.Bar as bBar
(should (equal text (buffer-string)))
- (next-line)
+ (forward-line)
(kotlin-mode--indent-line)
(should (equal text (buffer-string)))
- (next-line)
+ (forward-line)
(kotlin-mode--indent-line)
(should (equal text (buffer-string)))
- (next-line)
+ (forward-line)
(kotlin-mode--indent-line)
(should (equal text (buffer-string)))
- (next-line)
+ (forward-line)
(kotlin-mode--indent-line)
(should (equal text (buffer-string))))))
@@ -42,12 +42,12 @@ return a + b
}"))
(insert text)
- (beginning-of-buffer)
+ (goto-char (point-min))
(kotlin-mode)
(setq-local indent-tabs-mode nil)
(setq-local tab-width 4)
(setq-local kotlin-tab-width 4)
- (next-line)
+ (forward-line)
(kotlin-mode--indent-line)
(should (equal (buffer-string) "fun sum(a: Int, b: Int): Int {
@@ -62,7 +62,7 @@ return a + b
.forEach { print(it) }"))
(insert text)
- (beginning-of-buffer)
+ (goto-char (point-min))
(kotlin-mode)
(setq-local indent-tabs-mode nil)
(setq-local tab-width 4)
@@ -70,13 +70,13 @@ return a + b
(kotlin-mode--indent-line)
- (next-line)
+ (forward-line)
(kotlin-mode--indent-line)
- (next-line)
+ (forward-line)
(kotlin-mode--indent-line)
- (next-line)
+ (forward-line)
(kotlin-mode--indent-line)
(should (equal (buffer-string) "names.filter { it.empty }
@@ -93,7 +93,7 @@ return a + b
(ert-deftest kotlin-mode--sample-test ()
(with-temp-buffer
(insert-file-contents "test/sample.kt")
- (beginning-of-buffer)
+ (goto-char (point-min))
(kotlin-mode)
(setq-local indent-tabs-mode nil)
(setq-local tab-width 4)
- [nongnu] elpa/kotlin-mode f08724b978 115/162: Improve handling of bracket-based indentation, (continued)
- [nongnu] elpa/kotlin-mode f08724b978 115/162: Improve handling of bracket-based indentation, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 9fa0d75997 119/162: Tidy up bracked-based indentation into a class, and fix bugs, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 76921927de 117/162: Add a test for correct indentation of sample.kt, and get it to pass (with a few tweaks), ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 511e0a4ee3 121/162: Add in more kotlin keywords and indent get/set methods for properties, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 21ae667561 126/162: Add highlighted keywords, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode b2d5ff65fc 125/162: Highlight single quotes and back quotes, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode dd24461721 128/162: Add prefix to class methods, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 6aa6d56c0a 131/162: Merge pull request #42 from taku0/add_keywords, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 2f8a57ba64 138/162: Comment out failing emacs versions and link associated bugs, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 3062e14ac0 140/162: Merge pull request #47 from Emacs-Kotlin-Mode-Maintainers/emacs-version-test, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode d8d6461395 145/162: Fix warnings in tests,
ELPA Syncer <=
- [nongnu] elpa/kotlin-mode 1f60b01659 148/162: Fix indentation of multiline comment at the beginning of buffer, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 9fba76ff2b 155/162: Fix highlighting of backquotes, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 3e0c34087b 162/162: Merge pull request #61 from taku0/make_underbar_symbol, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode cbeeef8986 015/162: kotlin-mode: Define type declaration keywords, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode c6207be613 038/162: kotlin-mode: Add kotin-mode--syntax-propertize-function, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 78db8656d4 047/162: Fixed font lock for types, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 1624e7d795 052/162: add 'nested' and 'inner' class modifiers, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 4787bf94c1 058/162: Ignore dist folder produce by `cask package`, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode d4e97ffa4b 095/162: Switch from using a Bash script to using Make for the tests. Though 'cask exec eert-runner' also works to run the tests., ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode b86f9b4607 147/162: Fix indentation after comment containing close brackets, ELPA Syncer, 2022/01/29