Skip to content

Commit 78aa137

Browse files
authored
Fix docs & failing test (#188)
1 parent c90fa05 commit 78aa137

2 files changed

Lines changed: 56 additions & 0 deletions

File tree

.github/workflows/dictionary.txt

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,93 +1,146 @@
1+
alphanumerics
12
apache
23
APIs
4+
args
5+
arity
6+
array-of-ints
37
assignees
48
async
59
auth
610
authN
711
authz
812
base58btc
13+
Behaviour
914
Benchmarking
1015
benchmarking
1116
brooklynzelenka
17+
btc
18+
btc-decode
19+
btc-encode
1220
BTreeMap
1321
cargo-udeps
1422
CBOR
1523
CID
24+
CIDs
25+
CIDv
1626
CIDv1
1727
CLI
1828
codec
29+
combinators
30+
Config
1931
CRDT
2032
CRDTs
2133
crypto
2234
cryptographic
2335
cryptographically
36+
CSPRNG
2437
DAG-CBOR
2538
DAG-JSON
39+
DAG-PB
2640
DagCborCodec
2741
DagJsonCodec
2842
DCBOR
43+
dep
44+
deps
45+
deserialized
46+
Desugaring
2947
Deserialize
3048
deserialization
49+
deserializer
50+
deserializers
51+
deserializes
3152
DID
3253
DIDs
3354
direnv
55+
Disjunction
56+
disjunct
3457
doxing
3558
ECDH
3659
ECDSA
3760
ed25519
3861
EdDSA
3962
enum
63+
EnvelopePayload
64+
errored
65+
erroring
4066
et
4167
expede
68+
Hardcode
69+
hardcoded
4270
http
71+
IANA
4372
impl
4473
impls
74+
invoker
4575
IPLD
4676
IRust
4777
jq
78+
LEB
4879
LEB128
80+
matcher
81+
md
4982
MiB
83+
MSRV
84+
multibase
5085
multicodec
5186
Multicodec
5287
multihash
88+
NaN
5389
nbf
5490
newtype
5591
newtypes
5692
NixOS
93+
nonces
94+
Nonces
5795
no_std
5896
OCap
5997
ocap
98+
PayloadTag
6099
PoLA
100+
powerline
61101
pre-commit
62102
Pre-commit
63103
proptest
64104
Powerline
65105
rc
106+
RDRAND
107+
re-deserialized
66108
README
67109
Roundtrip
68110
roundtrip
111+
roundtrips
69112
RFC
70113
RSA
71114
RustSec
72115
runtimes
73116
Screencaps
117+
secp
74118
secp256k1
119+
Selectable
75120
Serde
121+
serde
76122
Serialize
123+
SHA
77124
SHA-256
78125
struct
79126
toolchain
80127
ucan
81128
UCAN
82129
UCANs
83130
UI
131+
unescaped
132+
unrepresentable
84133
usecases
85134
unwelcomed
135+
Validators
86136
Varsig
87137
varsig
88138
VarsigConfig
139+
verifiers
89140
Wasm
90141
WebAssembly
91142
WebCrypto
92143
www
144+
xF
93145
Zelenka
146+
zero-dep

ucan/src/delegation/policy/selector/select.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ mod tests {
266266
use proptest_arbitrary_interop::arb;
267267

268268
proptest! {
269+
#![proptest_config(ProptestConfig { cases: 64, ..ProptestConfig::default() })]
269270
#[test_log::test]
270271
fn test_identity(data in arb::<InternalIpld>()) {
271272
let selector = Select::<InternalIpld>::from_str(".")?;
@@ -274,6 +275,7 @@ mod tests {
274275
}
275276

276277
proptest! {
278+
#![proptest_config(ProptestConfig { cases: 64, ..ProptestConfig::default() })]
277279
#[test_log::test]
278280
fn test_try_missing_is_null(data in arb::<InternalIpld>()) {
279281
let selector = Select::<Ipld>::from_str(".foo?")?;
@@ -290,6 +292,7 @@ mod tests {
290292
}
291293

292294
proptest! {
295+
#![proptest_config(ProptestConfig { cases: 64, ..ProptestConfig::default() })]
293296
#[test_log::test]
294297
fn test_try_missing_plus_trailing_is_null(data in arb::<InternalIpld>(), more in arb::<Vec<Filter>>()) {
295298
let mut filters = vec![Filter::Try(Box::new(Filter::Field("foo".into())))];

0 commit comments

Comments
 (0)