Skip to content

Commit 2ace234

Browse files
author
Ivan Carballo
committed
Merge pull request ribot#18 from CDRussell/master
Minor formatting fixes
2 parents f067ef2 + dcf81e1 commit 2ace234

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

project_and_code_guidelines.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ public Observable<Location> syncLocations() {
527527

528528
### 2.3.1 Use self closing tags
529529

530-
When an XML element doesn\'t have any contents, you __must__ use self closing tags.
530+
When an XML element doesn't have any contents, you __must__ use self closing tags.
531531

532532
This is good:
533533

@@ -587,7 +587,7 @@ Menu example:
587587

588588
#### 2.3.2.2 Strings
589589

590-
String names start with a prefix that identifies the section they belong to. For example `registration_email_hint` or `registration_name_hint`. If a string __doesn\'t belong__ to any section, then you should follow the rules below:
590+
String names start with a prefix that identifies the section they belong to. For example `registration_email_hint` or `registration_name_hint`. If a string __doesn't belong__ to any section, then you should follow the rules below:
591591

592592

593593
| Prefix | Description |
@@ -626,7 +626,7 @@ Test methods are annotated with `@Test` and should generally start with the name
626626

627627
Precondition and/or expected behaviour may not always be required if the test is clear enough without them.
628628

629-
Sometimes a class may contain a large amount of methods, that at the same time require several tests for each method. In this case, it\'s recommendable to split up the test class into multiple ones. For example, if the `DataManager` contains a lot of methods we may want to divide it into `DataManagerSignInTest`, `DataManagerLoadUsersTest`, etc. Generally you will be able to see what tests belong together because they have common [test fixtures](https://en.wikipedia.org/wiki/Test_fixture).
629+
Sometimes a class may contain a large amount of methods, that at the same time require several tests for each method. In this case, it's recommendable to split up the test class into multiple ones. For example, if the `DataManager` contains a lot of methods we may want to divide it into `DataManagerSignInTest`, `DataManagerLoadUsersTest`, etc. Generally you will be able to see what tests belong together because they have common [test fixtures](https://en.wikipedia.org/wiki/Test_fixture).
630630

631631
### 2.4.2 Espresso tests
632632

@@ -656,4 +656,4 @@ distributed under the License is distributed on an "AS IS" BASIS,
656656
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
657657
See the License for the specific language governing permissions and
658658
limitations under the License.
659-
```
659+
```

0 commit comments

Comments
 (0)