Skip to content

Commit

Permalink
Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
blopker committed Jan 11, 2025
1 parent 5149774 commit f8106f1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 19 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,20 @@ name: Rust

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- uses: actions/checkout@v4
- name: Build
run: cargo build
- name: Run tests
run: cargo test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Codebook comes with a language server. Originally developed for the Zed editor,

### Dictionary Management

Codebook comes with a dictionary manager, which will automatically download and cache dictionaries for a large number of languages.
Codebook comes with a dictionary manager, which will automatically download and cache dictionaries for a large number of written languages.

## Running

Expand Down
10 changes: 0 additions & 10 deletions codebook/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -272,16 +272,6 @@ mod lib_tests {
}
cdict
}
// #[test]
// fn test_spell() {
// let aff = std::fs::read_to_string("index.aff").unwrap();
// let dic = std::fs::read_to_string("index.dic").unwrap();
// let dict = spellbook::Dictionary::new(&aff, &dic).unwrap();
// let mut suggestions: Vec<String> = Vec::new();
// dict.suggest("helloWorld", &mut suggestions);
// println!("{:?}", suggestions);
// assert!(false);
// }

#[test]
fn test_spell_checking() {
Expand Down

0 comments on commit f8106f1

Please sign in to comment.