From 3daaef71ffc7b456d1e7791dfe93a43cee6995fd Mon Sep 17 00:00:00 2001 From: Tpt Date: Mon, 6 Dec 2021 18:19:52 +0100 Subject: [PATCH] Fixes doc test --- .github/workflows/build.yml | 3 +++ lib/src/sparql/model.rs | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ef04468a..71091d60 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -84,6 +84,7 @@ jobs: python_wheel_linux: runs-on: ubuntu-latest + needs: python steps: - uses: actions/checkout@v2 with: @@ -99,6 +100,7 @@ jobs: python_wheel_mac: runs-on: macos-latest + needs: python steps: - uses: actions/checkout@v2 with: @@ -112,6 +114,7 @@ jobs: python_wheel_windows: runs-on: windows-latest + needs: python strategy: matrix: architecture: ["x86", "x64"] diff --git a/lib/src/sparql/model.rs b/lib/src/sparql/model.rs index 734d91b8..551b18d4 100644 --- a/lib/src/sparql/model.rs +++ b/lib/src/sparql/model.rs @@ -256,7 +256,7 @@ impl QuerySolutionIter { /// use oxigraph::sparql::{QueryResults, Variable}; /// /// let store = Store::new()?; - /// if let QueryResults::SolutionReturns all the quads contained in the stores(solutions) = store.query("SELECT ?s ?o WHERE { ?s ?p ?o }")? { + /// if let QueryResults::Solutions(solutions) = store.query("SELECT ?s ?o WHERE { ?s ?p ?o }")? { /// assert_eq!(solutions.variables(), &[Variable::new("s")?, Variable::new("o")?]); /// } /// # Result::<_,Box>::Ok(())