Skip to content
Snippets Groups Projects
Commit a2613ef8 authored by Graham McVicker's avatar Graham McVicker
Browse files

changed test to use description() instead of desc() method

parent fc27c1a5
No related branches found
No related tags found
No related merge requests found
......@@ -28,12 +28,12 @@ my $value = 'testval';
my $attrib = Bio::EnsEMBL::Attribute->new
(-CODE => $code,
-NAME => $name,
-DESC => $desc,
-DESCRIPTION => $desc,
-VALUE => $value);
ok($attrib->code() eq $code);
ok($attrib->name() eq $name);
ok($attrib->desc() eq $desc);
ok($attrib->description() eq $desc);
ok($attrib->value() eq $value);
#
......@@ -41,6 +41,6 @@ ok($attrib->value() eq $value);
#
ok(test_getter_setter($attrib, 'name', 'newname'));
ok(test_getter_setter($attrib, 'code', 'newcode'));
ok(test_getter_setter($attrib, 'desc', 'newdesc'));
ok(test_getter_setter($attrib, 'description', 'newdesc'));
ok(test_getter_setter($attrib, 'value', 'newvalue'));
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment