Giter Site home page Giter Site logo

Comments (7)

daegalus avatar daegalus commented on May 14, 2024

I merged the code, but had the following errors reported by Drone using v1.10

$ dart test/uuid_test.dart
00:00 �+0�: [Version 1 Tests] IDs created at same mSec are different�
00:00 �+1�: [Version 1 Tests] Exception thrown when > 10K ids created in 1 ms�
00:00 �+2�: [Version 1 Tests] Clock regression by msec increments the clockseq - mSec�
00:00 �+3�: [Version 1 Tests] Clock regression by msec increments the clockseq - nSec�
00:00 �+4�: [Version 1 Tests] Explicit options produce expected id�
00:00 �+5�: [Version 1 Tests] Ids spanning 1ms boundary are 100ns apart�
00:00 �+6�: [Version 4 Tests] Check if V4 is consistent using a static seed�
00:00 �+7�: [Version 4 Tests] Return same output as entered for "random" option�
00:00 �+8�: [Version 4 Tests] Make sure that really fast uuid.v4 doesn't produce duplicates�
00:00 �+9�: [Version 5 Tests] Using URL namespace and custom name�
'package:typed_data/typed_buffers.dart': error: line 175 pos 30: unexpected token '?'
    if (values is List) end ??= values.length;

I will fix it up when I get home, unless you get to it before I do.

from dart-uuid.

harryterkelsen avatar harryterkelsen commented on May 14, 2024

Looks like you need to update your drone.io to use Dart 1.12 or newer, which is where null-aware operators were introduced. I'm not sure how to update it.

from dart-uuid.

daegalus avatar daegalus commented on May 14, 2024

Hmm, apparently its a problem with Drone, it wont go higher than 1.10, seems like I need to move to another CI system. Ill test it tonight locally on my home machine and push out a version.

Thanks again.

from dart-uuid.

harryterkelsen avatar harryterkelsen commented on May 14, 2024

On the Dart team we use Travis for CI. See https://github.com/dart-lang/dart2js_info/blob/master/.travis.yml for an example setup.

from dart-uuid.

daegalus avatar daegalus commented on May 14, 2024

Ya, I'll do Travis. I used Drone back in the early days when Drone was the only one that supported Dart and I never switched away from it. I'll do that tonight.

from dart-uuid.

harryterkelsen avatar harryterkelsen commented on May 14, 2024

Awesome, thanks!

from dart-uuid.

daegalus avatar daegalus commented on May 14, 2024

All set. 0.5.1 is pushed to Pub with your changed. Thanks again (tests passed locally on my 1.14 install). Ill go about switching to Travis CI. Closing this ticket.

from dart-uuid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.