Skip to content

Commit

Permalink
test: Add 'http' inside of string to id:gchat_convo note
Browse files Browse the repository at this point in the history
  • Loading branch information
bbugyi200 committed Aug 31, 2024
1 parent 99a5006 commit 057f40f
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 9 deletions.
3 changes: 2 additions & 1 deletion tests/__snapshots__/test_run_action_open.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
- 240828#02 ID::foo_with_slashes_query https://go/foo?a=/&b=2&c=/
- 240828#03 ID::foo_with_url_arg https://go/foo?bar=%s
- 240828#04 ID::foo_slash_arg https://go/foo/bar/%s
- 240831#00 ID::gchat_convo https://mail.google.com/chat/u/0/#chat/space/AAAAKA-qATI
- 240831#00 ID::gchat_convo with 'http' inside a string
https://mail.google.com/chat/u/0/#chat/space/AAAAKA-qATI

################################ [[multiblocks]]
- 240510#0E Note A2
Expand Down
4 changes: 3 additions & 1 deletion tests/__snapshots__/test_run_compile.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,9 @@
'zid': '240828#04'},
{'areas': [],
'block': None,
'body': '240831#00 ID::gchat_convo '
'body': '240831#00 ID::gchat_convo with '
"'http' inside a string\n"
' '
'https://mail.google.com/chat/u/0/#chat/space/AAAAKA-qATI',
'contexts': ['footnote'],
'create_date': FakeDate(2024, 8, 31),
Expand Down
18 changes: 12 additions & 6 deletions tests/__snapshots__/test_run_query.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@
- 240828#01 ID::foo_with_url_query https://go/foo?env=dev&bar=2&baz=3
- 240828#02 ID::foo_with_slashes_query https://go/foo?a=/&b=2&c=/
- 240828#03 ID::foo_with_url_arg https://go/foo?bar=%s
- 240831#00 ID::gchat_convo https://mail.google.com/chat/u/0/#chat/space/AAAAKA-qATI
- 240831#00 ID::gchat_convo with 'http' inside a string
https://mail.google.com/chat/u/0/#chat/space/AAAAKA-qATI

################################ [[property]]
o P3 240510#0N This recurring todo also uses an inline property | [recur::M+Th]
Expand Down Expand Up @@ -272,7 +273,8 @@
- 240828#02 ID::foo_with_slashes_query https://go/foo?a=/&b=2&c=/
- 240828#03 ID::foo_with_url_arg https://go/foo?bar=%s
- 240828#04 ID::foo_slash_arg https://go/foo/bar/%s
- 240831#00 ID::gchat_convo https://mail.google.com/chat/u/0/#chat/space/AAAAKA-qATI
- 240831#00 ID::gchat_convo with 'http' inside a string
https://mail.google.com/chat/u/0/#chat/space/AAAAKA-qATI

################################ [[multiblocks]]
o P3 240510#07 Some todo
Expand Down Expand Up @@ -790,7 +792,8 @@
- 240828#02 ID::foo_with_slashes_query https://go/foo?a=/&b=2&c=/
- 240828#03 ID::foo_with_url_arg https://go/foo?bar=%s
- 240828#04 ID::foo_slash_arg https://go/foo/bar/%s
- 240831#00 ID::gchat_convo https://mail.google.com/chat/u/0/#chat/space/AAAAKA-qATI
- 240831#00 ID::gchat_convo with 'http' inside a string
https://mail.google.com/chat/u/0/#chat/space/AAAAKA-qATI

################################ @pomodoro
- 240323#0J #gtd pomodoro
Expand Down Expand Up @@ -1016,7 +1019,8 @@
- 240828#02 ID::foo_with_slashes_query https://go/foo?a=/&b=2&c=/
- 240828#03 ID::foo_with_url_arg https://go/foo?bar=%s
- 240828#04 ID::foo_slash_arg https://go/foo/bar/%s
- 240831#00 ID::gchat_convo https://mail.google.com/chat/u/0/#chat/space/AAAAKA-qATI
- 240831#00 ID::gchat_convo with 'http' inside a string
https://mail.google.com/chat/u/0/#chat/space/AAAAKA-qATI
- 301231#X1 @READ Some article
* RID::some_article
* url::http://www.example.com
Expand Down Expand Up @@ -1193,7 +1197,8 @@
- 240828#02 ID::foo_with_slashes_query https://go/foo?a=/&b=2&c=/
- 240828#03 ID::foo_with_url_arg https://go/foo?bar=%s
- 240828#04 ID::foo_slash_arg https://go/foo/bar/%s
- 240831#00 ID::gchat_convo https://mail.google.com/chat/u/0/#chat/space/AAAAKA-qATI
- 240831#00 ID::gchat_convo with 'http' inside a string
https://mail.google.com/chat/u/0/#chat/space/AAAAKA-qATI

++++++++++++++++ +arms
- 240510#0L Sqtdicu Gfwebkj: fdxd://rd/czge-nxgz-vmuncaf
Expand Down Expand Up @@ -1407,7 +1412,8 @@
- 240828#02 ID::foo_with_slashes_query https://go/foo?a=/&b=2&c=/
- 240828#03 ID::foo_with_url_arg https://go/foo?bar=%s
- 240828#04 ID::foo_slash_arg https://go/foo/bar/%s
- 240831#00 ID::gchat_convo https://mail.google.com/chat/u/0/#chat/space/AAAAKA-qATI
- 240831#00 ID::gchat_convo with 'http' inside a string
https://mail.google.com/chat/u/0/#chat/space/AAAAKA-qATI

################################ [[multiblocks]]
- 240510#0E Note A2
Expand Down
3 changes: 2 additions & 1 deletion tests/data/links.zo
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@
- 240828#02 ID::foo_with_slashes_query https://go/foo?a=/&b=2&c=/
- 240828#03 ID::foo_with_url_arg https://go/foo?bar=%s
- 240828#04 ID::foo_slash_arg https://go/foo/bar/%s
- 240831#00 ID::gchat_convo https://mail.google.com/chat/u/0/#chat/space/AAAAKA-qATI
- 240831#00 ID::gchat_convo with 'http' inside a string
https://mail.google.com/chat/u/0/#chat/space/AAAAKA-qATI

0 comments on commit 057f40f

Please sign in to comment.