Skip to content

add #[test] attribute to test/main.rs:710 #498

Closed

Description

@alejandro-vaz

self-explanatory

there's a bug in which that test does not have the #[test] attribute

 
fn test_try_into_array() {
    // Inline < capacity
    let vec = SmallVec::<u8, 2>::from_iter(0..1);
    // ...

simply add #[test]

Activity

  1. added this to the v2-beta.1 milestone on Aug 29, 2026
  2. changed the title [-]add `tests/main.rs:710` to have the `#[test]` attribute[/-] [+]add `#[test]` attribute to `test/main.rs:710`[/+] on Aug 30, 2026
  3. de-authority commented on Aug 30, 2026

    @de-authority

    I checked code base on branch v2. saw fn test_try_into_array() on line 724 and with test attribute, try to fix this but. looks like i misunderstanding something?

  4. alejandro-vaz commented on Aug 30, 2026

    @alejandro-vaz
    CollaboratorAuthor

    oh yeah it already got fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for a first contributorhelp wantedNo clear candidate to implement itr-testingrelated to testing

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions