diff --git a/nucleotide-count/example.coffee b/nucleotide-count/example.coffee index b3dae476..b2d0b92b 100644 --- a/nucleotide-count/example.coffee +++ b/nucleotide-count/example.coffee @@ -7,7 +7,7 @@ class DNA G: @value 'G' value: (nucleotide) -> - if nucleotide is 'U' then 0 else @strand.split(nucleotide).length - 1 + @strand.split(nucleotide).length - 1 count: (nucleotide) -> throw new Error('Invalid Nucleotide') if nucleotide not of @nucleotideCounts diff --git a/nucleotide-count/nucleotide-count_test.spec.coffee b/nucleotide-count/nucleotide-count_test.spec.coffee index 1edd6990..49aa0a1d 100644 --- a/nucleotide-count/nucleotide-count_test.spec.coffee +++ b/nucleotide-count/nucleotide-count_test.spec.coffee @@ -36,10 +36,6 @@ describe 'DNA', -> dna.count('T') expect(dna.count('T')).toEqual 2 - xit 'has no uracil', -> - dna = new DNA('GGTTGG') - expect(dna.value('U')).toEqual 0 - xit 'validates nucleotides', -> dna = new DNA('GGTTGG') expect ->