1
0
Fork 0
Commit graph

47 commits

Author SHA1 Message Date
9d51fae47b [oni-scheme] Check that the output ends with the expected text
All of the other tests already check that the output ends with the expected
output and isn’t exactly equal to it. This is because I don’t have enough
control over (or don’t know enough about) the output Emacs and other packages
generate. In order to prevent false-positives from happening as is happening
with ‘scheme-mode’, I don’t check what’s before the output I expect.

The false-positive that’s happening with ‘scheme-mode’ is an issue that it seems
like ‘geiser’ has started complaining that it can’t find ‘guile’, which is
expected.
2021-04-08 17:01:04 -07:00
dab6d0bd70 [oni-scheme] Print output of integration tests for debugging
In bats, when you print to stdout during a test, if the test fails bats will
show the output that was generated. If everything succeeds it hides the output.
2021-04-08 16:04:47 -07:00
dd9fedf8ff Decouple ‘oni-org’ and ‘oni-org-roam’
‘org-roam’ doesn’t seem to work correctly on all the machines that I use
‘org-mode’ on.
2021-03-25 20:20:04 -07:00
c9ad4acc44 Check that the output of the ‘oni-smartparens’ test ends in t
There can be other output, but that doesn’t mean the test failed, as long as t
is the last thing.
2021-02-24 21:14:49 -08:00
8dc211e2d2 Add configuration for Elm 2021-02-09 17:36:10 -08:00
e42dc5c467 Turn the result info ‘t’ or ‘nil’ 2021-02-09 09:52:28 -08:00
c62a5ec9c6 Use ‘conf-unix-mode’ for ‘.service’ files 2021-02-08 22:31:50 -08:00
05cdbd0fb2 Add ‘embrace’ configuration 2020-10-30 18:23:10 -07:00
6048293876 Add jenkinsfile-mode
Both ‘Jenkinsfile’ files and ‘*.pipeline’ files should be using
‘jenkinsfile-mode’.
2020-10-19 09:04:28 -07:00
7fb78d41eb Add test to see if gcmh-mode is enabled 2020-10-15 14:25:18 -07:00
a49fda9c79 Use ws-butler
At work I have to work with a lot of files that other people work on as well.
Other people don’t usually have their editor set up to remove all trailing
whitespace, and we’re not allowed to make a change that includes a lot of extra
whitespace changes[1]. So I end up having to revert a lot of whitespace changes
just before submitting. And if I then have to make more changes, for example
because something was pointed out in a code review, I have to do it again.

‘ws-butler’ promises that it will still prevent me from submitting extraneous
whitespace, but will not touch lines that I haven’t changed, so that would
prevent me from having to revert them all the time.

[1]: This is good, having a lot of whitespace changes can distract from or even
completely hide the actual change you’re trying to make.
2020-10-15 14:25:18 -07:00
b041947902 Diminish gcmh-mode 2020-10-15 14:25:18 -07:00
1e2b6678de Add ‘oni-lua’ 2020-09-07 14:44:32 -07:00
259ff68de4 Fixup oni-bat loading test 2020-05-11 00:33:38 -07:00
45b66d826a Enable ‘bmx-mode’
‘bmx-mode’ is a package to be used with ‘bat-mode’.
2020-05-02 18:32:01 -07:00
87e28a028d Load autorevert explicitly in tests 2020-04-09 14:03:33 -07:00
69aec39c5d Diminish auto-revert-mode to  2020-04-09 13:17:05 -07:00
afaa9d2a87 Diminish org-edna 2020-04-09 11:32:52 -07:00
8a494dc120 Explicitly load yasnippet for testing 2020-04-09 00:08:42 -07:00
89d2b9a057 Excplicitly load ‘oni-ivy’ for testing 2020-04-09 00:06:37 -07:00
0d8c294865 Fix tests by including ‘subr-x’
‘string-empty-p’ is defined in ‘subr-x’ and this library isn’t loaded into Emacs
by default.
2020-04-08 23:51:59 -07:00
dcffe90e3c Test isearch-mode diminishing using a constant
Apparently in the docker container that’s running the tests, reading  from the
command-line makes it a multibyte character (105 776 127 130), but defined in
Emacs it’s a unibyte character (61442). This might have something to do with
UTF-16 vs UTF-8?
2020-04-08 23:48:56 -07:00
df4d188d3f Fix diminishing minor modes when reloading libraries 2020-04-08 11:16:00 -07:00
27ae68341c Add basic fish shell script configuration 2020-04-08 00:22:23 -07:00
f90d13d9c3 Fix typo 2020-04-07 13:14:09 -07:00
8121df576e Use ‘nxml-mode’ for ‘.proj’ and ‘.targets’ files
Both of these file types are used for MSBuild.
2020-04-07 12:01:05 -07:00
a709f502f8 Add navigation functions for end-of-line and beginning-of-line 2020-04-07 02:09:43 -07:00
378ef3d590 Move CSS tests to bats 2020-04-07 01:25:23 -07:00
5dcb39c59c Add Haskell configuration 2020-03-29 23:56:44 -07:00
6be4d9c526 Add json configuration 2020-03-27 16:00:55 -07:00
cc8de9b58e Add prescient 2020-02-24 23:11:41 -08:00
34b78655c2 Enable nxml-mode for .csproj files 2020-01-28 22:15:41 -08:00
76f9a50c45 Add tests for oni-csharp 2020-01-28 21:48:28 -08:00
e77c57b998 Add ‘smartparens’ to ‘oni-sh’ 2020-01-14 22:02:08 -08:00
08e73f9cac Fix integration test for ‘oni-cpp’
The output contains more than just the print statement in the test, but it ends
with the result.
2020-01-14 21:25:32 -08:00
78cf5cb514 Fix integration test for oni-cpp
‘oni-c++’ was renamed to ‘oni-cpp’
2020-01-14 08:11:50 -08:00
c23059b74e Add integration test for oni-c++ 2020-01-13 18:13:16 -08:00
2bc74ded5b Fix file permissions for oni-bats.bats 2020-01-13 18:05:40 -08:00
dbf4798b1a Add integration test for oni-browse-url 2020-01-13 18:02:41 -08:00
28e10b8e89 Add integration test for oni-conf 2020-01-12 15:34:34 -08:00
dd2d254e25 Make the wording of the different integration tests more consistent 2020-01-08 16:49:02 -08:00
b4dc4d0f9f Print output of oni-bats integration test on failure 2020-01-08 13:07:41 -08:00
a1e3fb87dc Add docker configuration 2020-01-07 22:43:59 -08:00
e5127ad0d2 Add test loading oni-bookmark 2020-01-07 21:50:50 -08:00
a2a474d87a Add test loading oni-autohotkey 2020-01-07 21:33:56 -08:00
5ea266270d Add auto-insert template for bats-mode 2020-01-07 21:33:42 -08:00
487f25a7a6 Move bats tests to test/integration 2020-01-07 16:27:27 -08:00