Skip to content

tests: buttercup fails test that should pass #22

@aizensoosuke

Description

@aizensoosuke

I am trying to reflect the new features on the tests and pass all four of the existing ones.

When I run the second one - it "should add time-range item to the timeline" - (here), it fails with :

org-duration-to-minutes(#("10:00-11:50" 0 11 (org-category "org-timelineSZ...
  error("Invalid duration format: %S" #("10:00-11:50" 0 11 (org-category "or...

which looks independent from org-timeline.

Though when I use this org file to manually build the timeline, it builds perfectly well.

I had this exact problem with another test, and the problem came from the agenda string that wasn't properly formatted, but I don't understand why it's happening with this test.


I have now added more than 30 tests, and this test (the one that is commented here) is the only one to fail with this kind of error, even though it's the simplest one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    In progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions