Comments (9)
@bonega can you take a look at this?
from clojure-mode.
Doing some work related travelling atm, but should be able to give it a look by the end of the week
from clojure-mode.
Just an FYI, the commit which made the opposite change is 2be006f.
from clojure-mode.
Fixed in this pull-request: #104
Is there any way to attach a pull-request to an existing issue?
from clojure-mode.
Thanks for the fix.
from clojure-mode.
Oops, sorry @bonega, this still has error 😒.
I don't know elisp and I couldn't figure out how to run some of the functions (like the code inside clojure-jump-to-test) so I can't provide code or tests, but here is the problem:
I have a namespace hours.views.common
. When I try to switch to test mode it tried to create PROJECT/test/hours/test/views/test/common.clj
(instead of PROJECT/test/hours/views/test/common.clj
?). The code in clojure-test-mode works as (I think) it supposed to, from PROJECT/test/hours/views/test/common.clj
to PROJECT/src/hours/views/common.clj
.
Thanks
from clojure-mode.
Does this commit solve it for you?
bonega@22d213b
from clojure-mode.
This commit fixes the symmetry problem between clojure-mode and clojure-test-mode 😄.
I'm a little confused though, Is there a convention regarding test file naming? In the few months I've been playing with clojure the test name convention (for namespaces with more then one nested element) changed from one.two.test.three
to one.two.three-test
, and now one.test.two.three
. I actually don'e care which of the above I use, but I was wondering is there a convention.
from clojure-mode.
Great, I have submitted a pullrequest.
As for the convention, I would guess that's whatever lein test
uses.
@technomancy
Could you comment on this issue?
from clojure-mode.
Related Issues (20)
- Incorrect syntax highlighting for test name defined with `deftest` HOT 4
- Suggestions not working
- `clojure-find-def` fails on symbols that contain special characters
- Emacs hangs when `clojure-toplevel-inside-comment-form` is `t`, and `comment` is used as a var HOT 5
- Feature: Clojure-mode tree sitter support in Emacs v29 HOT 22
- Support nbb projects
- Infinite loop in `clojure-sort-ns` when sorting a ns with comments
- Suggestion - add additional characters to syntax table to support evil mode word motions HOT 1
- clojure-add-arity severs arglist metadata
- Dedicated lightweight edn-mode? HOT 1
- `clojure-sexp-starts-until-position` can loop forever
- Symbols with colon in the middle get wrong syntax highlighting HOT 1
- An extra form before the ns form, on the same line as the ns form, breaks test detection. HOT 2
- `clojure-mode-display-version` broken HOT 2
- Adaptive fill mode broken in docstring HOT 5
- Derive the mode from prog-mode or lisp-data-mode HOT 3
- Indentation very slow on 20230911.1653 HOT 29
- Use Eldev HOT 1
- Syntax highlighting broken for digits after the first in % args
- `.lpy` extension support HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clojure-mode.