Skip to content

Commit

Permalink
Update unit tests to expect dense current domain (#768)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkerl authored Oct 16, 2024
1 parent 5cdc9ff commit 8e02c30
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 14 deletions.
2 changes: 1 addition & 1 deletion docs/deps/data-deps.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script src="deps/jquery-3.6.0/jquery-3.6.0.min.js"></script>
<script src="deps/jquery-3.6.1/jquery-3.6.1.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<link href="deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet" />
<script src="deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script>
Expand Down
8 changes: 0 additions & 8 deletions docs/pkgdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,3 @@ async function searchFuse(query, callback) {
});
});
})(window.jQuery || window.$)

document.addEventListener('keydown', function(event) {
// Check if the pressed key is '/'
if (event.key === '/') {
event.preventDefault(); // Prevent any default action associated with the '/' key
document.getElementById('search-input').focus(); // Set focus to the search input
}
});
6 changes: 3 additions & 3 deletions docs/pkgdown.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
pandoc: 3.1.12.3
pkgdown: 2.1.1
pandoc: '0'
pkgdown: 2.1.0
pkgdown_sha: ~
articles:
data-ingestion-from-sql: data-ingestion-from-sql.html
documentation: documentation.html
installation-options: installation-options.html
introduction: introduction.html
tiledb-mariadb-examples: tiledb-mariadb-examples.html
last_built: 2024-10-02T22:48Z
last_built: 2024-10-03T15:05Z
urls:
reference: https://tiledb-inc.github.io/TileDB-R/reference
article: https://tiledb-inc.github.io/TileDB-R/articles
7 changes: 5 additions & 2 deletions inst/tinytest/test_arrayschema.R
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,10 @@ expect_true(allows_dups(sch))
if (tiledb_version(TRUE) < "2.26.0") exit_file("Needs TileDB 2.26.* or later")
expect_error(tiledb_array_schema_get_current_domain(dom)) # wrong object
expect_silent(cd <- tiledb_array_schema_get_current_domain(sch))
expect_silent(tiledb_array_schema_set_current_domain(sch, cd))

dsch <- tiledb_array_schema(dom, attrs = attr, sparse = FALSE)
expect_error(tiledb_array_schema_set_current_domain(dsch, cd)) # not for dense
if (tiledb_version(TRUE) < "2.27.0") {
expect_error(tiledb_array_schema_set_current_domain(dsch, cd))
} else {
expect_no_condition(tiledb_array_schema_set_current_domain(dsch, cd))
}

0 comments on commit 8e02c30

Please sign in to comment.