We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8d420e commit d01593eCopy full SHA for d01593e
python/extractor/cli-integration-test/string-encoding/repo_dir/test.py
@@ -0,0 +1,2 @@
1
+"\uD800"
2
+"?"
python/extractor/cli-integration-test/string-encoding/test.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+
3
+set -Eeuo pipefail # see https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/
4
5
+set -x
6
7
+CODEQL=${CODEQL:-codeql}
8
9
+SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
10
+cd "$SCRIPTDIR"
11
12
+rm -rf db
13
14
+$CODEQL database create db --language python --source-root repo_dir/
15
16
+# Note the negation in front -- it witnesses the fact that currently the dataset check FAILS.
17
+! $CODEQL dataset check db/db-python
18
19
+echo "Test successfully completed."
0 commit comments