Skip to content

Commit 0532300

Browse files
committed
test: Make input order of fields consistent with output
This makes it a bit easier to compare inputs and outputs visually
1 parent 2e51b7f commit 0532300

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

β€Žtests/Task.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,7 @@ describe('created dates on recurring task', () => {
10311031

10321032
it('should not set created date with disabled setting', () => {
10331033
// Arrange
1034-
const line = '- [ ] this is a task πŸ“… 2021-09-12 πŸ” every day';
1034+
const line = '- [ ] this is a task πŸ” every day πŸ“… 2021-09-12';
10351035
updateSettings({ setCreatedDate: false });
10361036

10371037
// Act
@@ -1043,7 +1043,7 @@ describe('created dates on recurring task', () => {
10431043

10441044
it('should not set created date if setting disabled, even if original has created date', () => {
10451045
// Arrange
1046-
const line = '- [ ] this is a task βž• 2021-09-11 πŸ“… 2021-09-12 πŸ” every day';
1046+
const line = '- [ ] this is a task πŸ” every day βž• 2021-09-11 πŸ“… 2021-09-12';
10471047
updateSettings({ setCreatedDate: false });
10481048

10491049
// Act
@@ -1055,7 +1055,7 @@ describe('created dates on recurring task', () => {
10551055

10561056
it('should set created date if setting enabled', () => {
10571057
// Arrange
1058-
const line = '- [ ] this is a task πŸ“… 2021-09-12 πŸ” every day';
1058+
const line = '- [ ] this is a task πŸ” every day πŸ“… 2021-09-12';
10591059
updateSettings({ setCreatedDate: true });
10601060

10611061
// Act
@@ -1067,7 +1067,7 @@ describe('created dates on recurring task', () => {
10671067

10681068
it('should set created date if setting enabled, when original has created date', () => {
10691069
// Arrange
1070-
const line = '- [ ] this is a task βž• 2021-09-11 πŸ“… 2021-09-12 πŸ” every day';
1070+
const line = '- [ ] this is a task πŸ” every day βž• 2021-09-11 πŸ“… 2021-09-12';
10711071
updateSettings({ setCreatedDate: true });
10721072

10731073
// Act

0 commit comments

Comments
Β (0)