diff options
| author | John Conway <john.a.conway@gmail.com> | 2019-05-09 19:34:20 +0100 |
|---|---|---|
| committer | John Conway <john.a.conway@gmail.com> | 2019-05-09 19:34:20 +0100 |
| commit | 7b132fd2d4afa0cf7e795398d93a3637bd9b8282 (patch) | |
| tree | acb3427fa2254b8d420f70d6fcaebd32a9ba9fad /tests | |
| parent | 0192f44c2a302fbc205203a1c8f8f1387936ea7b (diff) | |
| download | feed-nim-7b132fd2d4afa0cf7e795398d93a3637bd9b8282.tar.gz feed-nim-7b132fd2d4afa0cf7e795398d93a3637bd9b8282.zip | |
[Atom] Code tightning many procs -> funcs
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/test_atom | bin | 492488 -> 493736 bytes | |||
| -rw-r--r-- | tests/test_atom.nim | 4 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_atom b/tests/test_atom Binary files differindex a24afac..6df3143 100755 --- a/tests/test_atom +++ b/tests/test_atom diff --git a/tests/test_atom.nim b/tests/test_atom.nim index 15140d6..37f5899 100644 --- a/tests/test_atom.nim +++ b/tests/test_atom.nim @@ -33,7 +33,9 @@ test "Read Valid Atom Feed": check feed.categories[2].term == "automobiles" check feed.categories[2].label == "Automobiles" - #check feed.generator.uri == "https://github.com/dom96/jester" + let feed_generator_uri = feed.generator.uri + check feed_generator_uri == "https://github.com/dom96/jester" + let feed_generator_text:string = feed.generator check feed.generator == "Jester" check feed.icon == "http://joe.bloggs/mug,jpg" |
