Skip to content

Commit

Permalink
Fix: Spelling spose -> spouse
Browse files Browse the repository at this point in the history
Signed-off-by: Diederik de Groot <[email protected]>
  • Loading branch information
dkgroot authored and burner committed Nov 24, 2020
1 parent 5663ec4 commit f0768f1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ struct Child {
@INI("The age of the child") int age;
}
@INI("A Spose")
struct Spose {
@INI("The age of the spose") int age;
@INI("A Spouse")
struct Spouse {
@INI("The age of the spouse") int age;
// Nesting
@INI("The House of the spose") House house;
@INI("The House of the spouse") House house;
}
@INI("A Dog")
Expand All @@ -48,7 +48,7 @@ struct Person {
int dontShowThis;
// REGARD the nesting
@INI("A Spose") Spose spose;
@INI("A Spouse") Spouse spouse;
// REGARD the nesting
@INI("The family dog") Dog dog;
Expand Down Expand Up @@ -76,11 +76,11 @@ void main() {
p.someStrings ~= "Hello";
p.someStrings ~= "World";
p.spose.firstname = "Molly";
p.spose.age = 72;
p.spouse.firstname = "Molly";
p.spouse.age = 72;
p.spose.house.rooms = 5;
p.spose.house.floors = 2;
p.spouse.house.rooms = 5;
p.spouse.house.floors = 2;
p.dog.name = "Wuff";
Expand Down
4 changes: 2 additions & 2 deletions test/filename.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ someStrings=":::60180,asd,Hello,World"
someInts="1,2"
; A Spouse
[inifiled.Spouse]
; The firstname of the spose
; The firstname of the spouse
firstname="World"
; The age of the spose
; The age of the spouse
age="72"
; A House
[inifiled.House]
Expand Down

0 comments on commit f0768f1

Please sign in to comment.