Skip to content

Commit

Permalink
Fix a few typos
Browse files Browse the repository at this point in the history
This change fixes a couple of typos I encountered while going through
the code.
  • Loading branch information
d-e-s-o authored and ryzhyk committed Sep 5, 2019
1 parent bfd95ca commit e55892f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/Spec.hs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{-
Copyright (c) 2018 VMware, Inc.
Copyright (c) 2018-2019 VMware, Inc.
SPDX-License-Identifier: MIT
Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down Expand Up @@ -271,7 +271,7 @@ cliTest progress fname specname rust_dir extra_args = do
"\n\nstdout written to:\n" ++ dumpfile

-- A version of golden test that supports multiple output files.
-- Uses strict evluation to avoid errors lazily reading and then writing the
-- Uses strict evaluation to avoid errors lazily reading and then writing the
-- same file.
goldenVsFiles :: TestName -> [FilePath] -> [FilePath] -> IO () -> TestTree
goldenVsFiles name ref new act =
Expand Down
2 changes: 1 addition & 1 deletion tools/souffle_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ def process_file(self, rel, inFileName, inDelimiter, sort):
fields = line.rstrip('\n').split(inDelimiter)
result = []
# Special handling for the empty tuple, which seems
# to be written as () in Souffle, instead of the emtpy string
# to be written as () in Souffle, instead of the empty string
if len(converter) == 0 and len(fields) == 1 and fields[0] == "()":
fields = []
elif len(fields) != len(converter):
Expand Down

0 comments on commit e55892f

Please sign in to comment.