summaryrefslogtreecommitdiff
path: root/obo_test.go
diff options
context:
space:
mode:
authorSilvan Jegen <s.jegen@gmail.com>2014-11-08 15:50:13 +0100
committerSilvan Jegen <s.jegen@gmail.com>2014-11-08 15:50:13 +0100
commit475ffd33cea6a209408cfe9aac9c51e90893cbc6 (patch)
treef64519afe38fe90527ca68a5cba1fb070007b751 /obo_test.go
parent389e98a4fa0b9d1fde5343a62b64df3ca5ccbda9 (diff)
Use a switch statement for readability reasons
Add a test for comments parsing as well.
Diffstat (limited to 'obo_test.go')
-rw-r--r--obo_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/obo_test.go b/obo_test.go
index 140f948..98afe1f 100644
--- a/obo_test.go
+++ b/obo_test.go
@@ -27,6 +27,7 @@ name: part_of
[Term]
id: SYMP:0000000
+! We do not care about this comment
name: cellulitis
def: "Cellulitis is a musculoskeletal system symptom characterized as a diffuse and especially subcutaneous inflammation of connective tissue." [URL:http\://www2.merriam-webster.com/cgi-bin/mwmednlm?book=Medical&va=cellulitis]
is_a: SYMP:0000891 ! musculoskeletal system symptom