Code Monkey home page Code Monkey logo

Comments (5)

alexnask avatar alexnask commented on June 1, 2024 1

Started adding session tests, coverage going up 🎉

from zls.

data-man avatar data-man commented on June 1, 2024 1

am i running the tests the wrong way ?

Yes. Try execute zig build test in zls root folder.

from zls.

SuperAuguste avatar SuperAuguste commented on June 1, 2024

Looks interesting. Not sure if it's a priority right now, but definitely down the line.

from zls.

palash25 avatar palash25 commented on June 1, 2024

hi i recently started learning zig and this seems like a beginner-friendly issue to get started with but when i try to run unit tests using zig test unit_test.zig i get an error saying

./unit_tests.zig:2:15: error: unable to find 'types'
const types = @import("types");
              ^
./unit_tests.zig:23:43: note: referenced here
fn makeUnnamedDocument(text: []const u8) !types.TextDocument {
                                          ^
./unit_tests.zig:31:21: note: referenced here
    const doc = try makeUnnamedDocument(final_line);
                    ^
./unit_tests.zig:68:5: note: referenced here
    try testContext(
    ^

am i running the tests the wrong way ? i tried looking for docs on testing and also tried looking in the ci workflow for a test job but couldnt find anything.

PS i am able to build the repo locally

from zls.

SuperAuguste avatar SuperAuguste commented on June 1, 2024

I think #609 closed this. Closing in favor of #623.

from zls.

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.