File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,6 +28,11 @@ mvn xml-format:xml-format
2828The formatter does not enforce a maximum line length, but please try to keep it below 100 characters
2929to keep files readable across all mediums (IDE, terminal, Github...).
3030
31+ ### Other text files (markdown, etc)
32+
33+ Similarly, enforce a right margin of 100 characters in those files. Editors and IDEs generally have
34+ a way to configure this (for IDEA, install the "Wrap to column" plugin).
35+
3136## Coding style -- production code
3237
3338Do not use static imports. They make things harder to understand when you look at the code
@@ -213,6 +218,10 @@ Static imports are permitted in a couple of places:
213218 when(codecRegistry.codecFor(DataTypes.INT)).thenReturn(codec);
214219 verify(codec).decodePrimitive(any(ByteBuffer.class), eq(ProtocolVersion.DEFAULT));
215220 ```
221+ * All Awaitility methods, e.g.:
222+ ```java
223+ await().until(() -> somethingBecomesTrue());
224+ ```
216225
217226Test methods names use lower snake case, generally start with `should`, and clearly indicate the
218227purpose of the test, for example: `should_fail_if_key_already_exists`. If you have trouble coming
You can’t perform that action at this time.
0 commit comments