Skip to content

Change in behaviour causes test failures in image-gif #48

@bushrat011899

Description

@bushrat011899

Description

In the change from 0.1.8 to 0.1.9, image-gif now has a particular test fail due to an assertion within weezl. Using git bisect, I've determine the last working commit was 760619e, indicating the break is likely caused by 4790a35.

// Before
let want_more_space = if CgC::YIELD_ON_FULL {
    out.is_empty()
} else {
    out.is_empty() && !self.buffer.buffer().is_empty()
}

// After
let want_more_space = {
    out.is_empty()
};

The commit mentions a change in behaviour, but I'm not certain what the migration is for consumers of weezl to preserve existing behaviour?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions