Comments (3)
Hi @chriseyre2000, thanks for posting the issue! Looking over the Spock docs, I see the ||
being used, I'll make this update this weekend to start using ||
for the expectations. This is a good idea, thanks for pointing this out to me!
As far as the indentation, I don't see any example of this in documentation or the example project for Spock, actually all the examples that I've seen do not show indentation for items in blocks. Right now I have been using the formatting in IntelliJ to keep the project consistent, and it seems to prefer no indentation. To be able to keep the project formatted and to keep inline with what I see for the Spock documentation I'm not going to add indentation.
from groovy.
You can fix Intellij:
This has been may experience of using spock in production (all experienced Groovy developers that I have met prefer this style).
from groovy.
It's not just about fixing IntelliJ, It's also looking at the Spock documentation and examples and not seeing indentations. I would like to keep in line with they are doing and use defaults when we can. This will make it easier for people who want to contribute to the track.
I also think as the track will most likely not have many experienced Groovy developers, keeping in line with what we see in the Spock documentation and examples maybe best for the students as they learn Groovy.
from groovy.
Related Issues (20)
- The master branch will be renamed to main HOT 1
- [v3] Bootstrap Groovy track
- Configure online editor
- Add key features HOT 5
- [v3] Add tags HOT 3
- Add prerequisites to Practice Exercises HOT 1
- Pass linting checks HOT 1
- [v3] Build Test Runner
- Build Representer and Analyzer HOT 1
- Update status of track
- Update status of Concept Exercises HOT 1
- Launch Tracker 🔴
- 🤖 Sync error for commit 90c35f
- Extract track-specific help instructions from `config/exercise_readme.go.tmpl`
- Extract track-specific test instructions from `config/exercise_readme.go.tmpl`
- Build analyzer
- Build representer
- Check docs are up to date
- Test runner is too slow and always results in a "timed out" error message HOT 2
- CIS-CAT warning: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass HOT 1
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 groovy.